mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
usb: r8a66597-hcd: Change mistake of the outsw function
Some functions changed by 1c98347e61
.
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>
This commit is contained in:
parent
96b9e83231
commit
ac9dfe9cdd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue