Skip to contentSkip to conversation

Patch "usb: dwc3: pci: Fix dr_mode misspelling" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 9, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

usb: dwc3: pci: Fix dr_mode misspelling

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
usb-dwc3-pci-fix-dr_mode-misspelling.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 51c1685d956221576e165dd88a20063b169bae5a Mon Sep 17 00:00:00 2001

From: Hans de Goede <[email protected]>
Date: Tue, 27 Dec 2016 13:13:42 +0200
Subject: usb: dwc3: pci: Fix dr_mode misspelling

From: Hans de Goede <[email protected]>

commit 51c1685d956221576e165dd88a20063b169bae5a upstream.

usb_get_dr_mode() expects the device-property to be spelled "dr_mode" not "dr-mode".

Spelling it properly fixes the following warning showing up in dmesg:

[ 8704.500545] dwc3 dwc3.2.auto: Configuration mismatch. dr_mode forced to gadget
---
 drivers/usb/dwc3/dwc3-pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/dwc3-pci.c +1 -1
@@ -82,7 +82,7 @@ static int dwc3_pci_quirks(struct pci_de
 		int ret;
 
 		struct property_entry properties[] = {
-			PROPERTY_ENTRY_STRING("dr-mode", "peripheral"),
+			PROPERTY_ENTRY_STRING("dr_mode", "peripheral"),
 			{ }
 		};
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/usb-dwc3-pci-fix-dr_mode-misspelling.patch