]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN
authorChunyan Zhang <chunyan.zhang@unisoc.com>
Wed, 28 Aug 2019 02:17:34 +0000 (10:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 30 Aug 2019 07:17:53 +0000 (09:17 +0200)
commit0b07c26568c90040f0b93004eda21750319f7612
treec6b73bc23715f4521938af2694497e3a26b041a8
parentb9a1ea042619fe4c29c3d8f91b3dc9b2f3036e10
mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN

The bit of PRESET_VAL_ENABLE in HOST_CONTROL2 register is reserved on
sprd's sd host controller, set quirk2 to disable configuring this.

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