]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 18 May 2020 12:09:39 +0000 (15:09 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 18 May 2020 12:44:17 +0000 (14:44 +0200)
commit867a4b2795bd4be573c40d63f99a75584f1ee8d8
treea792f64d8cbed9b6cc3cd438603d8821fca6b844
parenta20819a848cd39220dc3e8fc9bca50353b49e001
mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE

Previous to commit 30e0befcf9ee42 ("mmc: Add MMC host software queue
support"), removing MMC_CAP2_CQE was enough to disable command queuing, but
now the cqe_ops must also be NULL otherwise ->cqe_enable() will be
called. Fix SDHCI_QUIRK_BROKEN_CQE to do that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: 30e0befcf9ee42 ("mmc: Add MMC host software queue support")
Link: https://lore.kernel.org/r/20200518120939.1399-1-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c