Commit 788b0bc4 authored by Dan Carpenter's avatar Dan Carpenter Committed by Felipe Balbi

usb: dwc3: omap: signedness bug in dwc3_omap_set_utmi_mode()

"ret" should be signed.  It's only used for zero and negative error
codes.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 50f9f798
...@@ -425,7 +425,7 @@ static void dwc3_omap_set_utmi_mode(struct dwc3_omap *omap) ...@@ -425,7 +425,7 @@ static void dwc3_omap_set_utmi_mode(struct dwc3_omap *omap)
static int dwc3_omap_extcon_register(struct dwc3_omap *omap) static int dwc3_omap_extcon_register(struct dwc3_omap *omap)
{ {
u32 ret; int ret;
struct device_node *node = omap->dev->of_node; struct device_node *node = omap->dev->of_node;
struct extcon_dev *edev; struct extcon_dev *edev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment