summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/ehci-s5p.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c
index 1c0b4d52f59e..957aed4e8722 100644
--- a/drivers/usb/host/ehci-s5p.c
+++ b/drivers/usb/host/ehci-s5p.c
@@ -146,8 +146,7 @@ static int __devinit s5p_ehci_probe(struct platform_device *pdev)
ehci->regs = hcd->regs +
HC_LENGTH(ehci, readl(&ehci->caps->hc_capbase));
- writel(EHCI_INSNREG00_BURST_ENABLE, hcd->regs +
- EHCI_INSNREG00_BURST_ENABLE);
+ writel(EHCI_INSNREG00_BURST_ENABLE, hcd->regs + EHCI_INSREG00);
dbg_hcs_params(ehci, "reset");
dbg_hcc_params(ehci, "reset");
@@ -257,8 +256,7 @@ static int s5p_ehci_resume(struct platform_device *pdev)
/* Mark hardware accessible again as we are out of D3 state by now */
set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
- writel(EHCI_INSNREG00_BURST_ENABLE, hcd->regs +
- EHCI_INSNREG00_BURST_ENABLE);
+ writel(EHCI_INSNREG00_BURST_ENABLE, hcd->regs + EHCI_INSREG00);
/* If CF is still set, we maintained PCI Vaux power.
* Just undo the effect of ehci_pci_suspend().