aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-q.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2012-07-11 11:22:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 19:56:46 -0400
commit9d9387475af261949f61a5ec465e1f762d7be08a (patch)
tree7aa6688962bde78fba655b791612e60cc1b50adf /drivers/usb/host/ehci-q.c
parent8c5bf7be56f1a8aecc1f802f132d53f556a9bc45 (diff)
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>
Diffstat (limited to 'drivers/usb/host/ehci-q.c')
-rw-r--r--drivers/usb/host/ehci-q.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c
index d68764ef4476..7b35933d91a6 100644
--- a/drivers/usb/host/ehci-q.c
+++ b/drivers/usb/host/ehci-q.c
@@ -1173,8 +1173,6 @@ static void end_unlink_async (struct ehci_hcd *ehci)
1173 struct ehci_qh *qh = ehci->async_unlink; 1173 struct ehci_qh *qh = ehci->async_unlink;
1174 struct ehci_qh *next; 1174 struct ehci_qh *next;
1175 1175
1176 iaa_watchdog_done(ehci);
1177
1178 // qh->hw_next = cpu_to_hc32(qh->qh_dma); 1176 // qh->hw_next = cpu_to_hc32(qh->qh_dma);
1179 qh->qh_state = QH_STATE_IDLE; 1177 qh->qh_state = QH_STATE_IDLE;
1180 qh->qh_next.qh = NULL; 1178 qh->qh_next.qh = NULL;
@@ -1243,7 +1241,7 @@ static void start_unlink_async (struct ehci_hcd *ehci, struct ehci_qh *qh)
1243 1241
1244 ehci_writel(ehci, ehci->command | CMD_IAAD, &ehci->regs->command); 1242 ehci_writel(ehci, ehci->command | CMD_IAAD, &ehci->regs->command);
1245 (void)ehci_readl(ehci, &ehci->regs->command); 1243 (void)ehci_readl(ehci, &ehci->regs->command);
1246 iaa_watchdog_start(ehci); 1244 ehci_enable_event(ehci, EHCI_HRTIMER_IAA_WATCHDOG, true);
1247} 1245}
1248 1246
1249/*-------------------------------------------------------------------------*/ 1247/*-------------------------------------------------------------------------*/