]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-sprd: clear the UHS-I modes read from registers
authorChunyan Zhang <chunyan.zhang@unisoc.com>
Wed, 28 Aug 2019 02:17:36 +0000 (10:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 30 Aug 2019 07:17:53 +0000 (09:17 +0200)
commit310e2f1adc001ee16fbda3539706fe0689f0e8d0
treea44c65e683a3322884ee594719bcabdccafa0fc2
parentba996114129b6eee05d08b24ff6c2a8a7c059c50
mmc: sdhci-sprd: clear the UHS-I modes read from registers

sprd's sd host controller supports SDR50/SDR104/DDR50 though, the UHS-I
mode used by the specific card can be selected via devicetree only.

Fixes: 5cf40ad0d64b ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller")
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com>
Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
Tested-by: Baolin Wang <baolin.wang@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sprd.c