projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a1fab5
)
USB: GADGET: fix !x & y
author
Roel Kluin
<roel.kluin@gmail.com>
Sat, 17 Jan 2009 15:52:17 +0000
(16:52 +0100)
committer
Greg Kroah-Hartman
<gregkh@kvm.kroah.org>
Wed, 28 Jan 2009 00:15:37 +0000
(16:15 -0800)
! has a higher precedence than &
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/imx_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/imx_udc.c
b/drivers/usb/gadget/imx_udc.c
index
cde8fdf
..
77c5d0a
100644
(file)
--- a/
drivers/usb/gadget/imx_udc.c
+++ b/
drivers/usb/gadget/imx_udc.c
@@
-297,7
+297,7
@@
void imx_ep_stall(struct imx_ep_struct *imx_ep)
for (i = 0; i < 100; i ++) {
temp = __raw_readl(imx_usb->base + USB_EP_STAT(EP_NO(imx_ep)));
- if (!
temp & EPSTAT_STALL
)
+ if (!
(temp & EPSTAT_STALL)
)
break;
udelay(20);
}