Commit d1fcbae1173f00917f5a71e4c074a61120605021

Authored by Marcel Ziswiler
Committed by Marek Vasut
1 parent 84c24f66c2

usb: tegra: ULPI regression on tegra20

Trying to enumerate USB devices connected via ULPI to T20 failed as
follows:

USB2:   ULPI integrity check failed

Git bisecting revealed the following commit being at odds:

commit 2d34151f7501ddaa599897f0d89ad576126b03eb
usb: tegra: refactor PHY type selection

Looking at above commit one quickly identifies a copy paste error which
this patch fixes. Happy ULPIing again (;-p).

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/usb/host/ehci-tegra.c
... ... @@ -305,11 +305,11 @@
305 305 #if defined(CONFIG_TEGRA20)
306 306 if (config->periph_id == PERIPH_ID_USBD) {
307 307 clrsetbits_le32(&usbctlr->port_sc1, PTS1_MASK,
308   - PTS_UTMI << PTS1_SHIFT);
  308 + pts << PTS1_SHIFT);
309 309 clrbits_le32(&usbctlr->port_sc1, STS1);
310 310 } else {
311 311 clrsetbits_le32(&usbctlr->port_sc1, PTS_MASK,
312   - PTS_UTMI << PTS_SHIFT);
  312 + pts << PTS_SHIFT);
313 313 clrbits_le32(&usbctlr->port_sc1, STS);
314 314 }
315 315 #else