]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sdhci: Add support for hosts reporting inverted write-protect state
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 16 Mar 2009 21:13:54 +0000 (00:13 +0300)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 24 Mar 2009 20:30:09 +0000 (21:30 +0100)
commitc5075a1089e808d8f471ce21b02810cc98ab2692
tree25780a5db4a56e51a736c45bfb2cc8fe132fbd11
parent68d1fb7e229c6f95be4fbbe3eb46b24e41184924
sdhci: Add support for hosts reporting inverted write-protect state

This patch adds SDHCI_QUIRK_INVERTED_WRITE_PROTECT quirk. When
specified, the sdhci driver will invert WP state.

p.s. Actually, the quirk is more board-specific than
     controller-specific.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h