]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: r8a66597-hcd: Change mistake of the outsw function
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 14 Oct 2010 05:52:54 +0000 (14:52 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 19:00:02 +0000 (11:00 -0800)
commit ac9dfe9cdda4eb42ecaa9f13b0fee518e0b6518e upstream.

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>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/r8a66597.h

index 95d0f5adfdcff9d2c67dcb327507dd192d5903f1..25563e9a90bc71d00ddcd80787edd937aea1e4d8 100644 (file)
@@ -227,7 +227,7 @@ static inline void r8a66597_write_fifo(struct r8a66597 *r8a66597,
                int odd = len & 0x0001;
 
                len = len / 2;
-               ioread16_rep(fifoaddr, buf, len);
+               iowrite16_rep(fifoaddr, buf, len);
                if (unlikely(odd)) {
                        buf = &buf[len];
                        iowrite8((unsigned char)*buf, fifoaddr);