summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-12-18 15:40:11 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-18 16:26:12 -0800
commit824d752b04765fc513fe17666a539f6c73960c4e (patch)
treecb431745a36ee949556a35393d4c981d9dbb98cf /drivers/usb/serial
parente5e4746510d140261918aecce2e5e3aa4456f7e9 (diff)
downloadop-kernel-dev-824d752b04765fc513fe17666a539f6c73960c4e.zip
op-kernel-dev-824d752b04765fc513fe17666a539f6c73960c4e.tar.gz
usb: usbtest: Always clear halt else further tests will fail
In test_halt() we set an endpoint halt condition and return on halt verification failure, then the enpoint will remain halted and all further tests related to that enpoint will fail. This is because we don't tackle endpoint halt error condition in any of the tests. To avoid that situation, make sure to clear the halt condition before exiting test_halt(). Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud