Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: r8a66597-hcd: Change mistake of the outsw function

Some functions changed by 1c98347e613bf17ea2f18c9766ce0ab77f65a96d.
However, There was a change mistake of the function (outsw).

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Paul Mundt <lethal@linux-sh.org>
Cc: stable <stable@kernel.org> [.35 & .36]
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Nobuhiro Iwamatsu and committed by
Greg Kroah-Hartman
ac9dfe9c 96b9e832

+1 -1
+1 -1
drivers/usb/host/r8a66597.h
··· 227 227 int odd = len & 0x0001; 228 228 229 229 len = len / 2; 230 - ioread16_rep(fifoaddr, buf, len); 230 + iowrite16_rep(fifoaddr, buf, len); 231 231 if (unlikely(odd)) { 232 232 buf = &buf[len]; 233 233 iowrite8((unsigned char)*buf, fifoaddr);