diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-01-17 16:52:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@kvm.kroah.org> | 2009-01-28 01:15:37 +0100 |
commit | 0df2479232eeea20c924350a11788c724b8c218d (patch) | |
tree | 9661b73ee1791e83927634643a8dd84650bd5757 /drivers/usb/gadget/imx_udc.c | |
parent | USB: new id for ti_usb_3410_5052 driver (diff) | |
download | linux-0df2479232eeea20c924350a11788c724b8c218d.tar.xz linux-0df2479232eeea20c924350a11788c724b8c218d.zip |
USB: GADGET: fix !x & y
! 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>
Diffstat (limited to 'drivers/usb/gadget/imx_udc.c')
-rw-r--r-- | drivers/usb/gadget/imx_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/imx_udc.c b/drivers/usb/gadget/imx_udc.c index cde8fdf15d5b..77c5d0a8a06e 100644 --- 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); } |