Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212574
b: refs/heads/master
c: 6dc3ae8
h: refs/heads/master
v: v3
  • Loading branch information
Igor Grinberg authored and Eric Miao committed Oct 8, 2010
1 parent 9ba3380 commit e3e9b05
Show file tree
Hide file tree
Showing 2 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: 69f22be7b10684ade3808de22db87c536ed135f3
refs/heads/master: 6dc3ae845c56157098f8af2d793aaefac2b31840
7 changes: 7 additions & 0 deletions trunk/drivers/usb/host/ohci-pxa27x.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <mach/ohci.h>
#include <mach/pxa3xx-u2d.h>

/*
* UHC: USB Host Controller (OHCI-like) register definitions
Expand Down Expand Up @@ -235,6 +236,9 @@ static int pxa27x_start_hc(struct pxa27x_ohci *ohci, struct device *dev)
if (retval < 0)
return retval;

if (cpu_is_pxa3xx())
pxa3xx_u2d_start_hc(&ohci_to_hcd(&ohci->ohci)->self);

uhchr = __raw_readl(ohci->mmio_base + UHCHR) & ~UHCHR_SSE;
__raw_writel(uhchr, ohci->mmio_base + UHCHR);
__raw_writel(UHCHIE_UPRIE | UHCHIE_RWIE, ohci->mmio_base + UHCHIE);
Expand All @@ -251,6 +255,9 @@ static void pxa27x_stop_hc(struct pxa27x_ohci *ohci, struct device *dev)

inf = dev->platform_data;

if (cpu_is_pxa3xx())
pxa3xx_u2d_stop_hc(&ohci_to_hcd(&ohci->ohci)->self);

if (inf->exit)
inf->exit(dev);

Expand Down

0 comments on commit e3e9b05

Please sign in to comment.