diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-10-15 12:21:01 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 21:11:21 +0800 |
commit | 2dfb579c7da171f6153cd58e8fbf7dcfe684778d (patch) | |
tree | e54663068118de6dcd2d48fe6894d37c0a02bdbc /drivers/mmc/host/sdhci-pltfm.c | |
parent | d3b993dcc11cd291e6908ed02b9db99970220952 (diff) |
mmc: sdhci: introduce get_ro private write-protect hook
Some controllers handle their write-protection differently. Introduce a
callback to be able to handle it, ensuring the same locking takes place
for it. Rename the status variable to make it more obvious why the read
from the registers needs to be inverted.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Eric BĂ©nard <eric@eukrea.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.c')
0 files changed, 0 insertions, 0 deletions