diff options
author | Franck Demathieu <fdemathieu@gmail.com> | 2017-02-27 05:52:46 -0500 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-03-06 09:47:10 -0500 |
commit | 73561128eb72ca04c3be6e240f162a861bf68a86 (patch) | |
tree | b845a4a56f11cf055e67d05c8ae1c69373d6a434 | |
parent | 38355b2a44776c25b0f2ad466e8c51bb805b3032 (diff) |
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>
-rw-r--r-- | drivers/usb/dwc3/dwc3-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 2092e46b1380..4a595777969e 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c | |||
@@ -392,7 +392,7 @@ static void dwc3_omap_set_utmi_mode(struct dwc3_omap *omap) | |||
392 | { | 392 | { |
393 | u32 reg; | 393 | u32 reg; |
394 | struct device_node *node = omap->dev->of_node; | 394 | struct device_node *node = omap->dev->of_node; |
395 | int utmi_mode = 0; | 395 | u32 utmi_mode = 0; |
396 | 396 | ||
397 | reg = dwc3_omap_read_utmi_ctrl(omap); | 397 | reg = dwc3_omap_read_utmi_ctrl(omap); |
398 | 398 | ||