mmc: tmio: fix clock gating on platforms with a .set_pwr() method
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 16 Nov 2011 09:11:45 +0000 (10:11 +0100)
committerChris Ball <cjb@laptop.org>
Sat, 10 Dec 2011 21:18:38 +0000 (16:18 -0500)
commitf6b8b52c68f6109db4be02b55660258ff503fc3b
treef9ad886e5a6cda3e690887eb9ba394e50e3f78bd
parentf6bc41fb08cbd6943df358437e0af90c91a3caa3
mmc: tmio: fix clock gating on platforms with a .set_pwr() method

Do not power down the card in .set_ios(), unless MMC_POWER_OFF is
requested. This fixes the SDHI functionality on ecovec.

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