UPSTREAM: usb: dwc3: gadget: Fix usage of bitwise operator
authorJohn Youn <johnyoun@synopsys.com>
Mon, 23 May 2016 18:32:43 +0000 (11:32 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commitb2c9f6b5dbf09e2200e586b4133b57d1d354c341
tree1f2c38257bf055f1746f1987ca7ab4b31ca98813
parent53f859d8682cc35fb1c03df78c8c0f757715bd7d
UPSTREAM: usb: dwc3: gadget: Fix usage of bitwise operator

Cleans up the sparse warning:
warning: dubious: x | !y

Since we do want a bitwise OR here, don't use a logical (true/false)
value. Probably is not a real issue but it cleans up the warning.

Change-Id: I741c66da3f31a26402334bf5edfd9f969580b64b
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit d07fa665c79d85fead080f4b611c3f7645576454)
drivers/usb/dwc3/gadget.c