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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:41 +0000 (16:17 +0200)
commit9170c1411eca5a2409fe4ec03152ce416ab45f97
tree172fbb4e0a53554f1edfa915e30e6d2d262d5951
parentb80114337d31e617196b3d10820886038d8128d0
usb: gadget: udc: change comparison to bitshift when dealing with a mask

[ Upstream commit ac87e560f7c0f91b62012e9a159c0681a373b922 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/goku_udc.h