projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4933402
)
powerpc/fsl_udc_core: Fix dumb typo
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 9 Nov 2011 00:58:17 +0000
(19:58 -0500)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 16 Nov 2011 03:25:19 +0000
(14:25 +1100)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/usb/gadget/fsl_udc_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/fsl_udc_core.c
b/drivers/usb/gadget/fsl_udc_core.c
index b2c44e1d58134c185966e672508ec0a9f8d24d84..d786ba31fc07f45ea20e53e368a4d57e0b2d7ed6 100644
(file)
--- a/
drivers/usb/gadget/fsl_udc_core.c
+++ b/
drivers/usb/gadget/fsl_udc_core.c
@@
-1717,7
+1717,7
@@
static void dtd_complete_irq(struct fsl_udc *udc)
static inline enum usb_device_speed portscx_device_speed(u32 reg)
{
- switch (
speed
& PORTSCX_PORT_SPEED_MASK) {
+ switch (
reg
& PORTSCX_PORT_SPEED_MASK) {
case PORTSCX_PORT_SPEED_HIGH:
return USB_SPEED_HIGH;
case PORTSCX_PORT_SPEED_FULL: