* Regression fix for Chipidea USB
@ 2018-06-25 10:54 Mika Penttilä
0 siblings, 0 replies; 2+ messages in thread
From: Mika Penttilä @ 2018-06-25 10:54 UTC (permalink / raw)
To: Peter.Chen, linux-usb, linux-kernel; +Cc: Mika Penttilä
From: Mika Penttilä <mika.penttila@nextfour.com>
I started to see usb failures on i.MX6, like "nonzero urb status received" after:
" commit 4e88d4c083016454f179686529ae65d70b933b58
Author: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date: Sat Mar 3 22:43:03 2018 +0100
usb: add a flag to skip PHY initialization to struct usb_hcd"
The errors were related to some scpecific scenarios, like usb device reset, disappear etc.
The fix below worked for me.
--Mika
Signed-off-by: Mika Penttilä <mika.penttila@nextfour.com>
---
drivers/usb/chipidea/host.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index af45aa32..c45d081 100644
--- a/drivers/usb/chipidea/host.c
+++ b/drivers/usb/chipidea/host.c
@@ -124,6 +124,9 @@ static int host_start(struct ci_hdrc *ci)
hcd->power_budget = ci->platdata->power_budget;
hcd->tpl_support = ci->platdata->tpl_support;
+
+ hcd->usb_phy = ci->usb_phy;
+
if (ci->phy || ci->usb_phy)
hcd->skip_phy_initialization = 1;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Regression fix for Chipidea USB
@ 2018-06-25 13:21 Johan Hovold
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2018-06-25 13:21 UTC (permalink / raw)
To: mika.penttila; +Cc: Peter.Chen, linux-usb, linux-kernel
On Mon, Jun 25, 2018 at 01:54:05PM +0300, mika.penttila@nextfour.com wrote:
> From: Mika Penttilä <mika.penttila@nextfour.com>
>
> I started to see usb failures on i.MX6, like "nonzero urb status received" after:
>
> " commit 4e88d4c083016454f179686529ae65d70b933b58
> Author: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> Date: Sat Mar 3 22:43:03 2018 +0100
>
> usb: add a flag to skip PHY initialization to struct usb_hcd"
>
> The errors were related to some scpecific scenarios, like usb device
> reset, disappear etc.
This was reported earlier and a fix has been posted here:
https://marc.info/?l=linux-usb&m=152825077301574
Should be addressed in 4.18-rc shortly.
Thanks,
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-25 13:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-25 13:21 Regression fix for Chipidea USB Johan Hovold
-- strict thread matches above, loose matches on Subject: below --
2018-06-25 10:54 Mika Penttilä
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).