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
Tested-by :
Some controllers handle their write-protection differently. Introduce a
callback to be able to handle it, ensuring the same locking takes place
for it.
Signed-off-by: Wolfram Sang
Tested-by : Eric BĂ©nard
---
drivers/mmc/host/sdhci.c | 11 +++
drivers/mmc/host/sdhci.h |1 +
2 files
Some controllers handle their write-protection differently. Introduce a
callback to be able to handle it, ensuring the same locking takes place
for it.
Signed-off-by: Wolfram Sang
---
drivers/mmc/host/sdhci.c | 11 +++
drivers/mmc/host/sdhci.h |1 +
2 files changed, 8 insertions(+)
Some controllers handle their write-protection differently. Introduce a
callback to be able to handle it, ensuring the same locking takes place
for it.
Signed-off-by: Wolfram Sang
---
drivers/mmc/host/sdhci.c | 11 +++
drivers/mmc/host/sdhci.h |1 +
2 files changed, 8 insertions(+)