mmc: tmio: fix power-mode interpretation
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 9 Mar 2011 13:38:58 +0000 (14:38 +0100)
committerChris Ball <cjb@laptop.org>
Fri, 25 Mar 2011 14:39:58 +0000 (10:39 -0400)
commita7edbe399b40fb82ccd11216fd88d24e428025c5
tree2a46ebea94bf3cad5c9973fad6381a3450dec4a0
parentd9b03421775d5cf8b4d5518a3e80b28cf3f999ce
mmc: tmio: fix power-mode interpretation

The power-mode sequence on MMC is MMC_POWER_OFF -> MMC_POWER_UP ->
MMC_POWER_ON and not MMC_POWER_ON -> MMC_POWER_UP, as the driver currently
is implying.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c