mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
USB: GADGET: fix !x & y
! has a higher precedence than & Signed-off-by: Roel Kluin <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
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 ++) {
|
||||
temp = __raw_readl(imx_usb->base + USB_EP_STAT(EP_NO(imx_ep)));
|
||||
if (!temp & EPSTAT_STALL)
|
||||
if (!(temp & EPSTAT_STALL))
|
||||
break;
|
||||
udelay(20);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue