mmc: tmio: fix regression in TMIO_MMC_WRPROTECT_DISABLE handling
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 20 Jun 2011 14:51:10 +0000 (16:51 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 25 Jun 2011 22:52:15 +0000 (18:52 -0400)
commit7d8b4c2a4b73da8e3632603691838ca5b2a8c26d
treec9f4bf96c6250ebb72b6c30936d7f06a10e3382c
parenta9120c33ffbb0b3448d833dae392edc90d6cfac2
mmc: tmio: fix regression in TMIO_MMC_WRPROTECT_DISABLE handling

Commit b6147490e6aac82 ("mmc: tmio: split core functionality, DMA and
MFD glue") broke handling of the TMIO_MMC_WRPROTECT_DISABLE flag by
the tmio-mmc driver. This patch restores the original behaviour.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c