diff options
author | Felipe F. Tonello <eu@felipetonello.com> | 2015-11-10 20:52:03 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-11-19 23:48:50 +0300 |
commit | e9ca7e4bb30cbf4c8d2e2e34681a967c10b3ff54 (patch) | |
tree | 57269bfcfcf217a3ccff1bd4c1a086317ee7c4f8 /drivers/usb/chipidea/debug.h | |
parent | 8aa90cf2a28645c6733f8879c5fe1848c5d510b7 (diff) | |
download | linux-e9ca7e4bb30cbf4c8d2e2e34681a967c10b3ff54.tar.xz |
usb: gadget: f_midi: Transmit data only when IN ep is enabled
This makes sure f_midi doesn't try to enqueue data when the IN endpoint is
disabled, ie, USB cable is disconnected.
Reviewed-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/chipidea/debug.h')
0 files changed, 0 insertions, 0 deletions