USB: EHCI: use hrtimer for the IAA watchdog
This patch (as1581) replaces the iaa_watchdog kernel timer used by ehci-hcd with an hrtimer event, in keeping with the general conversion to high-res timers. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
8c5bf7be56
commit
9d9387475a
@@ -1173,8 +1173,6 @@ static void end_unlink_async (struct ehci_hcd *ehci)
|
||||
struct ehci_qh *qh = ehci->async_unlink;
|
||||
struct ehci_qh *next;
|
||||
|
||||
iaa_watchdog_done(ehci);
|
||||
|
||||
// qh->hw_next = cpu_to_hc32(qh->qh_dma);
|
||||
qh->qh_state = QH_STATE_IDLE;
|
||||
qh->qh_next.qh = NULL;
|
||||
@@ -1243,7 +1241,7 @@ static void start_unlink_async (struct ehci_hcd *ehci, struct ehci_qh *qh)
|
||||
|
||||
ehci_writel(ehci, ehci->command | CMD_IAAD, &ehci->regs->command);
|
||||
(void)ehci_readl(ehci, &ehci->regs->command);
|
||||
iaa_watchdog_start(ehci);
|
||||
ehci_enable_event(ehci, EHCI_HRTIMER_IAA_WATCHDOG, true);
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
Reference in New Issue
Block a user