]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: Fix incorrect type for utmi mode
authorFranck Demathieu <fdemathieu@gmail.com>
Mon, 27 Feb 2017 10:52:46 +0000 (11:52 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 6 Mar 2017 14:47:10 +0000 (16:47 +0200)
commit73561128eb72ca04c3be6e240f162a861bf68a86
treeb845a4a56f11cf055e67d05c8ae1c69373d6a434
parent38355b2a44776c25b0f2ad466e8c51bb805b3032
usb: dwc3: Fix incorrect type for utmi mode

The utmi mode is unsigned according the dt-bindings.
Fix sparse issue (-Wtypesign):

  drivers/usb/dwc3/dwc3-omap.c:391:50: warning: incorrect type in argument 3 (different signedness)
  drivers/usb/dwc3/dwc3-omap.c:391:50:    expected unsigned int [usertype] *out_value
  drivers/usb/dwc3/dwc3-omap.c:391:50:    got int *<noident>

Signed-off-by: Franck Demathieu <fdemathieu@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-omap.c