usb: renesas_usbhs: Fix warnings in usbhsg_recip_handler_std_set_device()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 16 Oct 2019 04:14:33 +0000 (13:14 +0900)
committerFelipe Balbi <balbi@kernel.org>
Sun, 27 Oct 2019 06:58:44 +0000 (08:58 +0200)
commit20ee71cc374a4933808f735354cb4fd949d657c7
tree5060624597029e1b490518a930cb0808019a5e65
parentef48aacf860bc0bf24a0e9afee1f1a12cebf1155
usb: renesas_usbhs: Fix warnings in usbhsg_recip_handler_std_set_device()

This patch fixes the following sparse warnings by shifting 8-bits after
le16_to_cpu().

drivers/usb/renesas_usbhs/mod_gadget.c:268:47: warning: restricted __le16 degrades to integer
drivers/usb/renesas_usbhs/mod_gadget.c:268:47: warning: cast to restricted __le16

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/renesas_usbhs/mod_gadget.c