aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/otg/ulpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/otg/ulpi.c b/drivers/usb/otg/ulpi.c
index d331b222ad21..10a1df628f8c 100644
--- a/drivers/usb/otg/ulpi.c
+++ b/drivers/usb/otg/ulpi.c
@@ -54,7 +54,7 @@ static int ulpi_set_flags(struct otg_transceiver *otg)
54 if (otg->flags & USB_OTG_EXT_VBUS_INDICATOR) 54 if (otg->flags & USB_OTG_EXT_VBUS_INDICATOR)
55 flags |= ULPI_OTG_CTRL_EXTVBUSIND; 55 flags |= ULPI_OTG_CTRL_EXTVBUSIND;
56 56
57 return otg_io_write(otg, flags, ULPI_SET(ULPI_OTG_CTRL)); 57 return otg_io_write(otg, flags, ULPI_OTG_CTRL);
58} 58}
59 59
60static int ulpi_init(struct otg_transceiver *otg) 60static int ulpi_init(struct otg_transceiver *otg)
@@ -95,7 +95,7 @@ static int ulpi_set_vbus(struct otg_transceiver *otg, bool on)
95 flags |= ULPI_OTG_CTRL_DRVVBUS_EXT; 95 flags |= ULPI_OTG_CTRL_DRVVBUS_EXT;
96 } 96 }
97 97
98 return otg_io_write(otg, flags, ULPI_SET(ULPI_OTG_CTRL)); 98 return otg_io_write(otg, flags, ULPI_OTG_CTRL);
99} 99}
100 100
101struct otg_transceiver * 101struct otg_transceiver *