Skip to contentSkip to conversation

patch "usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()" added to usb-linus

PATCH [email protected] 1 participant 1 message Mar 9, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()

to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.

The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)

The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.

If you have any questions about this process, please let me know.

Quoted 1 line

From 0913750f9fb6f26bcd00c8f9dd9a8d1b8d031246 Mon Sep 17 00:00:00 2001

From: Roger Quadros <[email protected]>
Date: Wed, 15 Feb 2017 13:38:22 +0200
Subject: usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()

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")
Cc <[email protected]> #v4.8+
---
 drivers/usb/dwc3/dwc3-omap.c | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/dwc3/dwc3-omap.c +1 -0
index 4a595777969e..f8d0747810e7 100644
@@ -250,6 +250,7 @@ static void dwc3_omap_set_mailbox(struct dwc3_omap *omap,
 		val = dwc3_omap_read_utmi_ctrl(omap);
 		val |= USBOTGSS_UTMI_OTG_CTRL_IDDIG;
 		dwc3_omap_write_utmi_ctrl(omap, val);
+		break;
 
 	case OMAP_DWC3_VBUS_OFF:
 		val = dwc3_omap_read_utmi_ctrl(omap);
Signature · 1 line
2.12.0