[PATCH 3/6] mmc: sdhci: introduce private get_ro

2010-10-15 Thread Wolfram Sang
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 :

[PATCH 3/6] mmc: sdhci: introduce private get_ro

2010-10-11 Thread Wolfram Sang
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

[PATCH 3/6] mmc: sdhci: introduce private get_ro

2010-09-29 Thread Wolfram Sang
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(+)

[PATCH 3/6] mmc: sdhci: introduce private get_ro

2010-09-28 Thread Wolfram Sang
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(+)