]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: pci: Fix dr_mode misspelling
authorHans de Goede <hdegoede@redhat.com>
Tue, 27 Dec 2016 11:13:42 +0000 (13:13 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 2 Jan 2017 08:55:28 +0000 (10:55 +0200)
commit5aa3d2a4a729fd8cfe3b0746f3ec7ebc5e015fc2
tree267af92795f59edd13b9e002e44e6d69bed74e37
parent4618f09cb6d47a5a5dca3a917297dcf0c6810d0d
usb: dwc3: pci: Fix dr_mode misspelling

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

Signed-off-by: Hans de Goede <hdegoede@redhat.com
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-pci.c