aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/mmc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-03-05 21:48:42 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2018-03-15 09:39:10 +0100
commite060d376cc6185dde7e852c028de36614e2201fa (patch)
tree39603f0e30294f53e57c7fd995037f4f40435f65 /drivers/mmc/core/mmc.c
parentmmc: core: Use memdup_user() rather than duplicating its implementation (diff)
downloadlinux-dev-e060d376cc6185dde7e852c028de36614e2201fa.tar.xz
linux-dev-e060d376cc6185dde7e852c028de36614e2201fa.zip
mmc: renesas_sdhi: fix WP detection
Commit "mmc: renesas_sdhi: use MMC_CAP2_NO_WRITE_PROTECT instead of TMIO own flag" activated MMC_CAP2_NO_WRITE_PROTECT for Renesas SDHI which incorrectly disabled WP altogether instead of only disabling the internal mechanism. Since the whole WP handling has been reworked, we can simply disable this capability to re-enable WP GPIOs. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/mmc.c')
0 files changed, 0 insertions, 0 deletions