Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process

When starting the SD Express process, the low power negotiation mode will
be disabled, so we need to re-enable it after switching back to SD mode.

Fixes: 0e92aec2efa0 ("mmc: sdhci-pci-gli: Add support SD Express card for GL9767")
Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw>
Cc: stable@vger.kernel.org
Message-ID: <20241025060017.1663697-2-benchuanggli@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Ben Chuang and committed by
Ulf Hansson
c4dedaae 8c68b565

+3
+3
drivers/mmc/host/sdhci-pci-gli.c
··· 1068 1068 sdhci_writew(host, value, SDHCI_CLOCK_CONTROL); 1069 1069 } 1070 1070 1071 + pci_read_config_dword(pdev, PCIE_GLI_9767_CFG, &value); 1072 + value &= ~PCIE_GLI_9767_CFG_LOW_PWR_OFF; 1073 + pci_write_config_dword(pdev, PCIE_GLI_9767_CFG, value); 1071 1074 gl9767_vhs_read(pdev); 1072 1075 1073 1076 return 0;