Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0df24792 authored by Roel Kluin's avatar Roel Kluin Committed by Greg Kroah-Hartman
Browse files

USB: GADGET: fix !x & y



! has a higher precedence than &

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1a1fab51
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
	 	}
	 	}