]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
authorRoger Quadros <rogerq@ti.com>
Wed, 15 Feb 2017 11:38:22 +0000 (13:38 +0200)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Mar 2017 11:24:55 +0000 (05:24 -0600)
commit8088252aa0871079ae9b16689c8119765dbe2024
tree443c62f7fbae52a04fc441801fb428124bace08d
parentab5b0a6f2b07875b41c0ddfecb2468e48819a1f2
usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()

BugLink: http://bugs.launchpad.net/bugs/1674288
commit 0913750f9fb6f26bcd00c8f9dd9a8d1b8d031246 upstream.

We need to break from all cases if we want to treat
each one of them separately.

Reported-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Fixes: d2728fb3e01f ("usb: dwc3: omap: Pass VBUS and ID events transparently")
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/usb/dwc3/dwc3-omap.c