diff options
author | Felipe Balbi <balbi@ti.com> | 2014-11-06 12:31:00 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-06 17:18:19 -0500 |
commit | cd72f890d2d344f36d8f51f27bed2607062bb985 (patch) | |
tree | da24b8cdc716502714767f07242952a83eb4e55f /drivers/usb/dwc3/core.c | |
parent | 21a9476a7ba847e413bf1c144d7c614532aed6dd (diff) |
usb: dwc3: core: enable phy suspend quirk on non-FPGA
as it turns out, at least AM437x silicon (non-FPGA)
needs to enable PHY suspend quirk. So let's allow
for PHY suspend quirk to be used with non-FPGA
builds too.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
-rw-r--r-- | drivers/usb/dwc3/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 8ae42b8db02b..25ddc39efad8 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c | |||
@@ -404,7 +404,7 @@ static void dwc3_phy_setup(struct dwc3 *dwc) | |||
404 | if (dwc->tx_de_emphasis_quirk) | 404 | if (dwc->tx_de_emphasis_quirk) |
405 | reg |= DWC3_GUSB3PIPECTL_TX_DEEPH(dwc->tx_de_emphasis); | 405 | reg |= DWC3_GUSB3PIPECTL_TX_DEEPH(dwc->tx_de_emphasis); |
406 | 406 | ||
407 | if (dwc->dis_u3_susphy_quirk && dwc->is_fpga) | 407 | if (dwc->dis_u3_susphy_quirk) |
408 | reg &= ~DWC3_GUSB3PIPECTL_SUSPHY; | 408 | reg &= ~DWC3_GUSB3PIPECTL_SUSPHY; |
409 | 409 | ||
410 | dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg); | 410 | dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg); |
@@ -422,7 +422,7 @@ static void dwc3_phy_setup(struct dwc3 *dwc) | |||
422 | if (dwc->revision > DWC3_REVISION_194A) | 422 | if (dwc->revision > DWC3_REVISION_194A) |
423 | reg |= DWC3_GUSB2PHYCFG_SUSPHY; | 423 | reg |= DWC3_GUSB2PHYCFG_SUSPHY; |
424 | 424 | ||
425 | if (dwc->dis_u2_susphy_quirk && dwc->is_fpga) | 425 | if (dwc->dis_u2_susphy_quirk) |
426 | reg &= ~DWC3_GUSB2PHYCFG_SUSPHY; | 426 | reg &= ~DWC3_GUSB2PHYCFG_SUSPHY; |
427 | 427 | ||
428 | dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg); | 428 | dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg); |