usb: dwc3: gadget: Fix usage of bitwise operator
authorJohn Youn <johnyoun@synopsys.com>
Mon, 23 May 2016 18:32:43 +0000 (11:32 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:42 +0000 (12:32 +0300)
commitd07fa665c79d85fead080f4b611c3f7645576454
tree5bf917a4b8c5e8a05f06f3f8e3f0efec34a901cb
parent501058edebf957a3c101c8119c3286e496873840
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.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c