[ar71xx] preliminary failsafe support (closes #5726)
[openwrt.git] / target / linux / ar71xx / patches-2.6.28 / 110-usb-ehci-add-war-for-synopsys-hc-bug.patch
1 --- a/drivers/usb/host/ehci-q.c
2 +++ b/drivers/usb/host/ehci-q.c
3 @@ -1082,6 +1082,9 @@ static void end_unlink_async (struct ehc
4 ehci->reclaim = NULL;
5 start_unlink_async (ehci, next);
6 }
7 +
8 + if (ehci->has_synopsys_hc_bug)
9 + writel((u32)ehci->async->qh_dma, &ehci->regs->async_next);
10 }
11
12 /* makes sure the async qh will become idle */
13 --- a/drivers/usb/host/ehci.h
14 +++ b/drivers/usb/host/ehci.h
15 @@ -124,6 +124,7 @@ struct ehci_hcd { /* one per controlle
16 unsigned has_fsl_port_bug:1; /* FreeScale */
17 unsigned big_endian_mmio:1;
18 unsigned big_endian_desc:1;
19 + unsigned has_synopsys_hc_bug:1; /* Synopsys HC */
20
21 u8 sbrn; /* packed release number */
22
This page took 0.051088 seconds and 5 git commands to generate.