OSDN Git Service

mmc: sdhci: Fix the SD tuning issue that the SDHCI_TRANSFER_MODE is cleared incorrectly
authorCharl Liu <charl.liu@bayhubtech.com>
Fri, 11 Nov 2022 12:23:14 +0000 (04:23 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 7 Dec 2022 12:22:37 +0000 (13:22 +0100)
commit63abdf7237a7ab9e3ee30782d64d968a087c7e7a
tree726f4e050c5d3ad5fbafc7dfa2755ca3d2b5241e
parent43c487c28f9c353a9690f975e7b7dc56be144427
mmc: sdhci: Fix the SD tuning issue that the SDHCI_TRANSFER_MODE is cleared incorrectly

When cmd->opcode == MMC_SEND_TUNING_BLOCK, the SDHCI_TRANSFER_MODE
should also be kept

Signed-off-by: Charl Liu <charl.liu@bayhubtech.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20221111122314.307-1-charl.liu@bayhubtech.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c