staging: most: hdm-usb: stop core from submitting buffers in case of broken pipe
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 19 Aug 2016 09:12:48 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 14:53:56 +0000 (16:53 +0200)
commit72df4a55e9ab955d2143e638d9b24343e7658d6f
tree9b2f5435bc1e161b0afb9500e10d1e54148360f9
parentcc28983c322030ce7a3d748833186eab86a41570
staging: most: hdm-usb: stop core from submitting buffers in case of broken pipe

This patch ensures that no more packets are submitted by the core in
case an USB endpoint has reported a broken pipe (-EPIPE).

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c