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

sprd's sd host controller doesn't support write protect to sd card.

Fixes: 4e150946b509 ("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