mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
authorVictor Shih <victor.shih@genesyslogic.com.tw>
Tue, 12 Sep 2023 09:17:10 +0000 (17:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:20:13 +0000 (17:20 +0000)
commitcd93b7952c631ae0d122343ce7cb6c35edfa1ced
tree9f288ab9fcd32de0c542587ad8c585b52ceda8a8
parentb59f21292e1858477d4007d9645678b88ae17abf
mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2

commit d7133797e9e1b72fd89237f68cb36d745599ed86 upstream.

When GL9750 enters ASPM L1 sub-states, it will stay at L1.1 and will not
enter L1.2. The workaround is to toggle PM state to allow GL9750 to enter
ASPM L1.2.

Signed-off-by: Victor Shih <victor.shih@genesyslogic.com.tw>
Link: https://lore.kernel.org/r/20230912091710.7797-1-victorshihgli@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-pci-gli.c