lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 5 Sep 2018 18:55:13 +0400 From: Christian Hewitt <christianshewitt@...il.com> To: unlisted-recipients:; (no To-header on input) Cc: christianshewitt@...il.com, hal@...emmerich.com, arthur.petrosyan@...opsys.com, Minas Harutyunyan <hminas@...opsys.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [PATCH] usb: dwc2: disable power_down on Amlogic devices USB devices work when connected to Amlogic GXBB hardware before power on, but not when connected after boot (hotplugged). With this patch hotplugging works again. This change was copied from the Rockchip patch here: (https://marc.info/?l=linux-usb&m=153205711616460&w=2) Signed-off-by: Christian Hewitt <christianshewitt@...il.com> --- drivers/usb/dwc2/params.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index bf7052e..93561a2 100644 --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -110,6 +110,7 @@ static void dwc2_set_amlogic_params(struct dwc2_hsotg *hsotg) p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; p->ahbcfg = GAHBCFG_HBSTLEN_INCR8 << GAHBCFG_HBSTLEN_SHIFT; + p->power_down = false; } static void dwc2_set_amcc_params(struct dwc2_hsotg *hsotg) -- 2.7.4
Powered by blists - more mailing lists