summaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-05-06 20:31:19 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-01 09:06:59 +0200
commit9f6e0bff2afb52a4c29f5ca8a4db01810357974e (patch)
tree427a344078d58843f9d5a7fcc1f303c54ff26dc6 /security/tomoyo
parent0250fdf257b1e5febba19b7cc536a3c9431e50bf (diff)
downloadop-kernel-dev-9f6e0bff2afb52a4c29f5ca8a4db01810357974e.zip
op-kernel-dev-9f6e0bff2afb52a4c29f5ca8a4db01810357974e.tar.gz
mmc: Add support for disabling write-protect detection
It is not uncommon to see systems where there is no physical write-protect signal (e.g. when using eMMC or microSD card slots). For some controllers, which have a dedicated write-protection detection logic (like SDHCI controllers), the get_ro() callback can return bogus data in such a case. Instead of handling this on a per controller basis this patch adds a new capability flag to the MMC core that can be set to specify that the result of get_ro() is invalid. When the flag is set the core will not call get_ro() and assume that the card is always read-write. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud