usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 4 Apr 2017 19:32:25 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:19 +0000 (12:41 +0200)
commitae3a3e209ef1e2fa7efac9bb54c6fe934755bff6
treee78c1b0a95a1c8d1e976c4d0a184213888975c6a
parent7bdf7bebbbedb2bfe1dc3bcad71acb77bf660113
usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions

[ Upstream commit e42a5dbb8a3d14f5a35bffa3bf7dcb87883f767a ]

dwc3 revisions <=3.00a have a limitation where Port Disable command
doesn't work. Set the quirk-broken-port-ped property for such
controllers so XHCI core can do the necessary workaround.

[rogerq@ti.com] Updated code from platform data to device property.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/host.c