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)
commit2b17b8d7cc65d333a48c6d32ee44fc489cecb7d9
treea792f64d8cbed9b6cc3cd438603d8821fca6b844
parentb9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce
mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE

Previous to commit 511ce378e16f07 ("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: 511ce378e16f07 ("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