[2/8] usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()

Message ID 1485170381-32110-3-git-send-email-rogerq@ti.com
State New
Headers show
  • usb: dwc3: add dual-role support
Related show

Commit Message

Roger Quadros Jan. 23, 2017, 11:19 a.m.
We need to break from all cases if we want to treat
each one of them separately.

Fixes: d2728fb3e01f ("usb: dwc3: omap: Pass VBUS and ID events transparently")
Signed-off-by: Roger Quadros <rogerq@ti.com>

 drivers/usb/dwc3/dwc3-omap.c | 1 +
 1 file changed, 1 insertion(+)


To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index eb1b9cb..35b6351 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -250,6 +250,7 @@  static void dwc3_omap_set_mailbox(struct dwc3_omap *omap,
 		val = dwc3_omap_read_utmi_ctrl(omap);
 		dwc3_omap_write_utmi_ctrl(omap, val);
+		break;
 		val = dwc3_omap_read_utmi_ctrl(omap);