diff mbox series

[v2,1/1] usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield

Message ID 20210425195452.94143-1-ftoth@exalondelft.nl (mailing list archive)
State Accepted
Commit 04357fafea9c7ed34525eb9680c760245c3bb958
Headers show
Series [v2,1/1] usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield | expand

Commit Message

Ferry Toth April 25, 2021, 7:54 p.m. UTC
On Intel Merrifield LPM is causing the host to reset port after a timeout.
By disabling LPM entirely this is prevented.

Fixes: 066c09593454 ("usb: dwc3: pci: Enable extcon driver for Intel Merrifield")
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
---
 drivers/usb/dwc3/dwc3-pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Felipe Balbi April 26, 2021, 10:38 a.m. UTC | #1
Ferry Toth <ftoth@exalondelft.nl> writes:

> On Intel Merrifield LPM is causing the host to reset port after a timeout.
> By disabling LPM entirely this is prevented.
>
> Fixes: 066c09593454 ("usb: dwc3: pci: Enable extcon driver for Intel Merrifield")
> Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

Acked-by: Felipe Balbi <balbi@kernel.org>
Greg Kroah-Hartman May 10, 2021, 12:40 p.m. UTC | #2
On Sun, Apr 25, 2021 at 09:54:52PM +0200, Ferry Toth wrote:
> On Intel Merrifield LPM is causing the host to reset port after a timeout.
> By disabling LPM entirely this is prevented.
> 
> Fixes: 066c09593454 ("usb: dwc3: pci: Enable extcon driver for Intel Merrifield")
> Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> ---
>  drivers/usb/dwc3/dwc3-pci.c | 1 +
>  1 file changed, 1 insertion(+)

What changed from v1?  Always put that below the --- line.
Ferry Toth May 10, 2021, 4:16 p.m. UTC | #3
Hi,


Op 10-05-2021 om 14:40 schreef Greg Kroah-Hartman:
> On Sun, Apr 25, 2021 at 09:54:52PM +0200, Ferry Toth wrote:
>> On Intel Merrifield LPM is causing the host to reset port after a timeout.
>> By disabling LPM entirely this is prevented.
>>
>> Fixes: 066c09593454 ("usb: dwc3: pci: Enable extcon driver for Intel Merrifield")
>> Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
>> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
>> ---
>>   drivers/usb/dwc3/dwc3-pci.c | 1 +
>>   1 file changed, 1 insertion(+)
> What changed from v1?  Always put that below the --- line.
>
Yes, my bad, sorry.

In the above text "is causing host" was change to "is causing the host".

Thanks for adding into your usb-linus branch anyway.
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c
index 4c5c6972124a..e5d7eed2e60c 100644
--- a/drivers/usb/dwc3/dwc3-pci.c
+++ b/drivers/usb/dwc3/dwc3-pci.c
@@ -122,6 +122,7 @@  static const struct property_entry dwc3_pci_mrfld_properties[] = {
 	PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"),
 	PROPERTY_ENTRY_BOOL("snps,dis_u3_susphy_quirk"),
 	PROPERTY_ENTRY_BOOL("snps,dis_u2_susphy_quirk"),
+	PROPERTY_ENTRY_BOOL("snps,usb2-gadget-lpm-disable"),
 	PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"),
 	{}
 };