projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ec2f46
)
usb: r8a66597-udc: Fixed bufnum of Bulk
author
Yusuke Goda
<yusuke.goda.sx@renesas.com>
Mon, 31 Jan 2011 06:49:34 +0000
(15:49 +0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 4 Feb 2011 00:45:50 +0000
(16:45 -0800)
Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/r8a66597-udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/r8a66597-udc.c
b/drivers/usb/gadget/r8a66597-udc.c
index 20d43da319ae401a3223581fb5412154287c1582..015118535f77db3e8418909b850dfb0ed576fd00 100644
(file)
--- a/
drivers/usb/gadget/r8a66597-udc.c
+++ b/
drivers/usb/gadget/r8a66597-udc.c
@@
-258,7
+258,7
@@
static int pipe_buffer_setting(struct r8a66597 *r8a66597,
break;
case R8A66597_BULK:
/* isochronous pipes may be used as bulk pipes */
- if (info->pipe > R8A66597_BASE_PIPENUM_BULK)
+ if (info->pipe >
=
R8A66597_BASE_PIPENUM_BULK)
bufnum = info->pipe - R8A66597_BASE_PIPENUM_BULK;
else
bufnum = info->pipe - R8A66597_BASE_PIPENUM_ISOC;