]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: gadget: udc: change comparison to bitshift when dealing with a mask
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 6 Feb 2018 08:50:40 +0000 (09:50 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 8 Mar 2018 13:12:00 +0000 (15:12 +0200)
commitac87e560f7c0f91b62012e9a159c0681a373b922
tree4e480df22e2fcf5a601fd859f9494b9a05886260
parent6eb5ac2e99545b574b7a6422037ae790213b27ef
usb: gadget: udc: change comparison to bitshift when dealing with a mask

Due to a typo, the mask was destroyed by a comparison instead of a bit
shift.

Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/goku_udc.h