commit | 85f9ef8cdfb463e6e8ff9fe8cdcc0aed438b526e | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Jan 18 01:28:05 2018 +0900 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Thu Jan 18 09:08:56 2018 +0100 |
tree | c10cb09051ce0191129171a5a496de91d33db8d3 | |
parent | bc45719c1b1a56047246d44c7e4ed88a8ae702c1 [diff] |
mmc: slot-gpio: add a helper to check capability of GPIO WP detection Like mmc_can_gpio_cd(), mmc_can_gpio_ro() will also be useful for host drivers to know whether GPIO write-protect detection is supported. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>