]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9087bf0dabbf9f9ca602a0185a1915b145b19c7c
treea64ddbbcc0b1a334ab9cdd375b5210a6e5e3ee92
parenta1ef9fec11735e77b6f2a8112c3106f3446e99bc
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