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 15:11:21 +0200 |
commit | 2dfb579c7da171f6153cd58e8fbf7dcfe684778d (patch) | |
tree | e54663068118de6dcd2d48fe6894d37c0a02bdbc /fs/jbd | |
parent | mmc: sdhci-pltfm: move .h file into appropriate subdir (diff) | |
download | linux-2dfb579c7da171f6153cd58e8fbf7dcfe684778d.tar.xz linux-2dfb579c7da171f6153cd58e8fbf7dcfe684778d.zip |
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 'fs/jbd')
0 files changed, 0 insertions, 0 deletions