OpenCloudOS-Kernel/drivers/usb/dwc2
Paul Zimmerman d5dbd3f7d8 usb: dwc2: fix sparse warning
Sparse warns about the __le16 wValue from the USB SetAddress
command being used without converting it to CPU endianness. Fix
that, and also add a bit of defensive masking of the received
wValue before using it.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-25 14:56:16 -07:00
..
Kconfig usb: dwc2/s3c-hsotg: move s3c-hsotg into dwc2 directory 2014-04-24 13:12:43 -07:00
Makefile usb: dwc2/s3c-hsotg: move s3c-hsotg into dwc2 directory 2014-04-24 13:12:43 -07:00
core.c usb: dwc2: fix role switch breakage 2014-02-04 12:59:14 -08:00
core.h usb: dwc2: move s3c-hsotg data structures 2014-04-24 13:12:43 -07:00
core_intr.c usb: dwc2: handle the Host Port Interrupt when it occurs in device mode 2014-02-07 14:34:38 -08:00
gadget.c usb: dwc2: fix sparse warning 2014-04-25 14:56:16 -07:00
hcd.c usb: dwc2: fix memory corruption in dwc2 driver 2014-02-04 12:59:14 -08:00
hcd.h
hcd_ddma.c
hcd_intr.c usb: dwc2: fix dereference before NULL check 2014-02-15 12:26:14 -08:00
hcd_queue.c
hw.h usb: dwc2: add defines to support s3c-hsotg driver 2014-04-24 13:12:43 -07:00
pci.c
platform.c usb: dwc2: bail out early when booting with "nousb" 2014-02-04 12:59:14 -08:00