diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2016-01-25 15:42:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-03 16:14:52 -0500 |
commit | fcc5184ec1521c7d85124421e593660c94e9a9fb (patch) | |
tree | 5bb751d65d74638fe8f7e99d2740c09d23824736 /drivers/usb/host/ehci-timer.c | |
parent | 4f97f8f5f0664bdcfffe74e7d2a841f55a0e88e2 (diff) |
USB: EHCI: store reason for unlinking a QH
This patch replaces the "exception" bitflag in the ehci_qh structure
with a more explicit "unlink_reason" bitmask. This is for use in the
following patch, where we will need to have a good idea of the
reason for unlinking a QH, not just "something exceptional happened".
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Michael Reutman <mreutman@epiqsolutions.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-timer.c')
-rw-r--r-- | drivers/usb/host/ehci-timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-timer.c b/drivers/usb/host/ehci-timer.c index 424ac5d83714..37a3e0dece84 100644 --- a/drivers/usb/host/ehci-timer.c +++ b/drivers/usb/host/ehci-timer.c | |||
@@ -237,6 +237,7 @@ static void ehci_handle_start_intr_unlinks(struct ehci_hcd *ehci) | |||
237 | ehci->intr_unlink_wait_cycle)) | 237 | ehci->intr_unlink_wait_cycle)) |
238 | break; | 238 | break; |
239 | list_del_init(&qh->unlink_node); | 239 | list_del_init(&qh->unlink_node); |
240 | qh->unlink_reason |= QH_UNLINK_QUEUE_EMPTY; | ||
240 | start_unlink_intr(ehci, qh); | 241 | start_unlink_intr(ehci, qh); |
241 | } | 242 | } |
242 | 243 | ||