commit | e9ca7e4bb30cbf4c8d2e2e34681a967c10b3ff54 | [log] [tgz] |
---|---|---|
author | Felipe F. Tonello <eu@felipetonello.com> | Tue Nov 10 17:52:03 2015 +0000 |
committer | Felipe Balbi <balbi@ti.com> | Thu Nov 19 14:48:50 2015 -0600 |
tree | 57269bfcfcf217a3ccff1bd4c1a086317ee7c4f8 | |
parent | 8aa90cf2a28645c6733f8879c5fe1848c5d510b7 [diff] |
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>