mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
powerdomain: usb power domain don't turn off when suspend [1/1]
PD#SWPL-134271 Problem: usb power domain turn off when suspend, it will default some usb register setting then it will cause some usb device can not be used Solution: don't turn off usb powerdomain when suspend other chips are all this setting Verify: A1 t404 Change-Id: Iba1db2fd3a7f9e9920da50d638a450b4840645f2 Signed-off-by: qi duan <qi.duan@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
875fa4747f
commit
18e48a403c
@@ -98,7 +98,7 @@ static struct sec_pm_private_domain a1_pm_domains[] __initdata = {
|
||||
[PDID_IR] = POWER_DOMAIN(ir, PDID_IR, DOMAIN_INIT_ON, 0),
|
||||
[PDID_SPICC] = POWER_DOMAIN(spicc, PDID_SPICC, DOMAIN_INIT_OFF, 0),
|
||||
[PDID_SPIFC] = POWER_DOMAIN(spifc, PDID_SPIFC, DOMAIN_INIT_ON, 0),
|
||||
[PDID_USB] = POWER_DOMAIN(usb, PDID_USB, DOMAIN_INIT_ON, 0),
|
||||
[PDID_USB] = POWER_DOMAIN(usb, PDID_USB, DOMAIN_INIT_ON, GENPD_FLAG_ALWAYS_ON),
|
||||
[PDID_NIC] = POWER_DOMAIN(nic, PDID_NIC, DOMAIN_INIT_ON, GENPD_FLAG_ALWAYS_ON),
|
||||
[PDID_PDM] = POWER_DOMAIN(pdm, PDID_PDM, DOMAIN_INIT_OFF, 0),
|
||||
[PDID_RSA] = POWER_DOMAIN(rsa, PDID_RSA, DOMAIN_INIT_OFF, 0),
|
||||
@@ -131,7 +131,7 @@ static struct sec_pm_private_domain c1_pm_domains[] __initdata = {
|
||||
[PDID_CX_IR] = POWER_DOMAIN(ir, PDID_CX_IR, DOMAIN_INIT_ON, 0),
|
||||
[PDID_CX_SPICC] = POWER_DOMAIN(spicc, PDID_CX_SPICC, DOMAIN_INIT_OFF, 0),
|
||||
[PDID_CX_SPIFC] = POWER_DOMAIN(spifc, PDID_CX_SPIFC, DOMAIN_INIT_ON, 0),
|
||||
[PDID_CX_USB] = POWER_DOMAIN(usb, PDID_CX_USB, DOMAIN_INIT_ON, 0),
|
||||
[PDID_CX_USB] = POWER_DOMAIN(usb, PDID_CX_USB, DOMAIN_INIT_ON, GENPD_FLAG_ALWAYS_ON),
|
||||
[PDID_CX_NIC] = POWER_DOMAIN(nic, PDID_CX_NIC, DOMAIN_INIT_ON, GENPD_FLAG_ALWAYS_ON),
|
||||
[PDID_CX_PDM] = POWER_DOMAIN(pdm, PDID_CX_PDM, DOMAIN_INIT_ON, 0),
|
||||
[PDID_CX_RSA] = POWER_DOMAIN(rsa, PDID_CX_RSA, DOMAIN_INIT_OFF, 0),
|
||||
|
||||
Reference in New Issue
Block a user