staging: most: hdm-usb: make use of is_channel_healthy flag
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 19 Aug 2016 09:12:51 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 14:53:57 +0000 (16:53 +0200)
commit879c93fefd3dcbce414ffccdf5cbd5685b18afed
treea64ddbbcc0b1a334ab9cdd375b5210a6e5e3ee92
parent654f7ec4b3b8aca70fc7215651b6c45066bf74c1
staging: most: hdm-usb: make use of is_channel_healthy flag

This patch makes the write completion handler use the is_channel_healthy
flag to prevent the hdm from scheduling a second clear_halt workqueue in
case an endpoint reported a STALL condition.

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