OSDN Git Service

usb: dwc2: Disable power down feature on Samsung SoCs
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 20 Nov 2018 15:38:15 +0000 (16:38 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 5 Dec 2018 09:09:08 +0000 (11:09 +0200)
commit35a6054132286a4ab92b536595093b82e6bdfcbc
tree07a979393b1dff5b9d313e71db0803d210c4e44e
parentb7a4fbe2300a8965ea760c7e871507b84aea17f6
usb: dwc2: Disable power down feature on Samsung SoCs

Power down feature of DWC2 module integrated in Samsung SoCs doesn't work
properly or needs some additional handling in PHY or SoC glue layer, so
disable it for now. Without disabling power down, DWC2 causes random memory
trashes and fails enumeration if there is no USB link to host on driver
probe.

Fixes: 03ea6d6e9e1ff1 ("usb: dwc2: Enable power down")
Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/params.c