mmc: sdhci: Workaround broken command queuing on Intel GLK
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 17 Dec 2019 09:53:48 +0000 (11:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:46:32 +0000 (16:46 +0100)
commit79a466d43b595571f223fbd0cd95585d5c9ad7a2
tree0f603854ef035ee6aaf10fcabb55b3f7c52cbcf3
parentd5c5ce6b2fa928ac3a3814bd751c07179132b90b
mmc: sdhci: Workaround broken command queuing on Intel GLK

commit bedf9fc01ff1f40cfd1a79ccacedd9f3cd8e652a upstream.

Command queuing has been reported broken on some Lenovo systems based on
Intel GLK. This is likely a BIOS issue, so disable command queuing for
Intel GLK if the BIOS vendor string is "LENOVO".

Fixes: 8ee82bda230f ("mmc: sdhci-pci: Add CQHCI support for Intel GLK")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20191217095349.14592-1-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-pci-core.c