usb: dwc2: Bits in bitfield should add up to 32
authorCharles Manning <cdhmanning@gmail.com>
Thu, 2 Oct 2014 02:36:20 +0000 (15:36 +1300)
committerFelipe Balbi <balbi@ti.com>
Thu, 23 Oct 2014 14:55:43 +0000 (09:55 -0500)
commitfd4850cfd4e4060ec85a9db590b5d0e23eec68f5
tree8f83819c840bda282412ab8cd6a120a9203a6a36
parentb585a48b8a9486f26a68886278f2c8f981676dd4
usb: dwc2: Bits in bitfield should add up to 32

The unioned u32 is used for clearing etc. Having the number of
bitfield bits add up to more than 32 is broken, even if benign.

Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.h