Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248729
b: refs/heads/master
c: 2f7ac6c
h: refs/heads/master
i:
  248727: 21e2892
v: v3
  • Loading branch information
Gabor Juhos authored and Greg Kroah-Hartman committed Apr 13, 2011
1 parent 900b7d8 commit 8ca69a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 502fa84195f47a79d7220470ebaa85a773659755
refs/heads/master: 2f7ac6c199978d0a0e407a12534201aa675a6482
2 changes: 2 additions & 0 deletions trunk/drivers/usb/host/ehci-ath79.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ static int ehci_ath79_init(struct usb_hcd *hcd)

switch (id->driver_data) {
case EHCI_ATH79_IP_V1:
ehci->has_synopsys_hc_bug = 1;

ehci->caps = hcd->regs;
ehci->regs = hcd->regs +
HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/usb/host/ehci-q.c
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,10 @@ static void end_unlink_async (struct ehci_hcd *ehci)
ehci->reclaim = NULL;
start_unlink_async (ehci, next);
}

if (ehci->has_synopsys_hc_bug)
ehci_writel(ehci, (u32) ehci->async->qh_dma,
&ehci->regs->async_next);
}

/* makes sure the async qh will become idle */
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/usb/host/ehci.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ struct ehci_hcd { /* one per controller */
unsigned amd_pll_fix:1;
unsigned fs_i_thresh:1; /* Intel iso scheduling */
unsigned use_dummy_qh:1; /* AMD Frame List table quirk*/
unsigned has_synopsys_hc_bug:1; /* Synopsys HC */

/* required for usb32 quirk */
#define OHCI_CTRL_HCFS (3 << 6)
Expand Down

0 comments on commit 8ca69a2

Please sign in to comment.