usb: host: ehci: always enable interrupt for qtd completion at test mode
authorPeter Chen <hzpeterchen@gmail.com>
Mon, 5 Feb 2018 03:50:56 +0000 (11:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Feb 2018 17:45:34 +0000 (18:45 +0100)
commit91b119359c1c3033a6621909d3c5dbbdf201d6b4
treebd9cd077c935b85f63de13b0b7992a583dc7dcd7
parent52ad2bd8918158266fc88a05f95429b56b6a33c5
usb: host: ehci: always enable interrupt for qtd completion at test mode

At former code, the SETUP stage does not enable interrupt
for qtd completion, it relies on IAA watchdog to complete
interrupt, then the transcation would be considered timeout
if the flag need_io_watchdog is cleared by platform code.

In this commit, we always add enable interrupt for qtd completion,
then the qtd completion can be notified by hardware interrupt.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-q.c