]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mmc: sdhci-pci: Quirk for AMD SDHC Device 0x7906
authorRaul E Rangel <rrangel@chromium.org>
Wed, 4 Sep 2019 16:46:25 +0000 (10:46 -0600)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Nov 2019 15:10:16 +0000 (16:10 +0100)
commit7a869f00bb15bcefb8804d798a49b086267b03e6
tree4cb0eac221e110be0534bc7361c73eb4d24a091d
parentdcaac3f7840177ec9894abbd4a0fabf31801ecb6
mmc: sdhci-pci: Quirk for AMD SDHC Device 0x7906

AMD SDHC 0x7906 requires a hard reset to clear all internal state.
Otherwise it can get into a bad state where the DATA lines are always
read as zeros.

This change requires firmware that can transition the device into
D3Cold for it to work correctly. If the firmware does not support
transitioning to D3Cold then the power state transitions are a no-op.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c