diff options
| author | Felipe F. Tonello <[email protected]> | 2015-11-10 17:52:03 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-11-19 20:48:50 +0000 |
| commit | e9ca7e4bb30cbf4c8d2e2e34681a967c10b3ff54 (patch) | |
| tree | 57269bfcfcf217a3ccff1bd4c1a086317ee7c4f8 /net/unix/af_unix.c | |
| parent | usb: dwc2: make otg clk optional (diff) | |
| download | kernel-e9ca7e4bb30cbf4c8d2e2e34681a967c10b3ff54.tar.gz kernel-e9ca7e4bb30cbf4c8d2e2e34681a967c10b3ff54.zip | |
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 <[email protected]>
Signed-off-by: Felipe F. Tonello <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
