staging: most: hdm-usb: fix clear halt processing
commitcc28983c322030ce7a3d748833186eab86a41570
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 19 Aug 2016 09:12:47 +0000 (19 11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 14:53:56 +0000 (21 16:53 +0200)
treefef96495702a6b702bc71fb98684e157fba55069
parent9ed745ff8e80fbb600f386013bab9c361202866c
staging: most: hdm-usb: fix clear halt processing

This patch is needed to ensure that submitted URBs get unlinked before
the driver calls usb_clear_halt(). Since the halt condition of an USB
endpoint is channel related, the work_struct is moved from a buffer
basis to a channel basis.

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