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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:47:05 +0000 (19:47 +0100)
commit272e858c22933c7433200d36824973e2bc47b4fc
tree0634bd0bf2a6c0c5e96077c0ad50a2cd8fef9e4a
parent93a6d3464023c19d539b29c6bd40e1730d2b5373
usb: dwc2: Disable power down feature on Samsung SoCs

[ Upstream commit 35a6054132286a4ab92b536595093b82e6bdfcbc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/dwc2/params.c