Martin Blumenstingl cc10ce0c51 usb: dwc2: disable power_down on Amlogic devices
Disable power_down by setting the parameter to
DWC2_POWER_DOWN_PARAM_NONE. This fixes a problem on various Amlogic
Meson SoCs where USB devices are only recognized when plugged in before
booting Linux. A hot-plugged USB device was not detected even though the
device got power (my USB thumb drive for example has an LED which lit
up).

A similar fix was implemented for Rockchip SoCs in commit c216765d3a1def
("usb: dwc2: disable power_down on rockchip devices"). That commit
suggests that a change in the dwc2 driver is the cause because the
default value for the "hibernate" parameter (which then got renamed to
"power_down" to support other modes) was changed in the v4.17 merge
window with:
commit 6d23ee9caa6790 ("Merge tag 'usb-for-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-testing").

Cc: <stable@vger.kernel.org> # 4.19
Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Suggested-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2018-12-10 09:18:19 +02:00
..
2018-11-01 18:34:46 -07:00
2018-11-16 09:31:59 -06:00
2018-10-29 15:16:01 -07:00
2018-10-27 09:24:24 -07:00
2018-10-25 06:50:48 -07:00
2018-10-16 11:13:50 +02:00
2018-10-11 12:12:55 +02:00
2018-11-09 17:56:44 +01:00
2018-10-29 10:38:10 -07:00
2018-11-08 17:49:04 -06:00
2018-11-02 11:25:48 -07:00
2018-10-31 16:47:55 -07:00
2018-11-23 22:35:38 -08:00
2018-10-25 06:31:56 -07:00
2018-11-09 16:41:58 -06:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-10-26 08:14:13 -07:00
2018-11-01 08:42:21 -07:00
2018-10-26 12:09:58 -07:00
2018-10-29 15:16:01 -07:00
2018-11-22 08:31:46 -08:00
2018-10-31 08:54:16 -07:00
2018-10-25 06:19:15 -07:00
2018-10-11 09:16:44 -07:00
2018-11-10 13:32:14 -06:00
2018-11-11 09:21:46 -08:00
2018-10-31 11:01:38 -07:00
2018-11-01 14:42:49 -07:00
2018-10-31 11:41:37 -07:00
2018-11-10 08:58:48 -06:00