tmio: add a platform flag to disable card write-protection detection
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 19 May 2010 18:36:02 +0000 (18:36 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 22 May 2010 08:05:21 +0000 (17:05 +0900)
commitac8fb3e8627d5494f3d2221925a82be4c1778b0e
tree5e2e62928e4eeb67aac2363b613ec087546912d6
parent65a1b0347a329422e939e14daae6dad9a29e9cf2
tmio: add a platform flag to disable card write-protection detection

Write-protection status is not always available, e.g., micro-SD cards do not
have a write-protection switch at all. This patch adds a flag to let platforms
force tmio_mmc to consider the card writable.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/mmc/host/tmio_mmc.c
include/linux/mfd/tmio.h