mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 10:49:28 +00:00
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>
This commit is contained in:
parent
1a1fab5137
commit
0df2479232
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ void imx_ep_stall(struct imx_ep_struct *imx_ep)
|
||||||
|
|
||||||
for (i = 0; i < 100; i ++) {
|
for (i = 0; i < 100; i ++) {
|
||||||
temp = __raw_readl(imx_usb->base + USB_EP_STAT(EP_NO(imx_ep)));
|
temp = __raw_readl(imx_usb->base + USB_EP_STAT(EP_NO(imx_ep)));
|
||||||
if (!temp & EPSTAT_STALL)
|
if (!(temp & EPSTAT_STALL))
|
||||||
break;
|
break;
|
||||||
udelay(20);
|
udelay(20);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue