mmc: core: Only execute tuning for SDR50 and SDR104
authorFredrik Soderstedt <fredrik.soderstedt@stericsson.com>
Wed, 17 Apr 2013 11:50:53 +0000 (13:50 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 02:56:04 +0000 (10:56 +0800)
commit6ed94c6e1b14cbe4fc0d717676ff8c0faad4bfc6
treea7b178fef5022a67a1301c2fc733190dcff41b39
parent284bbb120120e68173a4bd14f9209dfdbab49d19
mmc: core: Only execute tuning for SDR50 and SDR104

Only execute tuning for sd and sdio devices that are using
SDR50 or SDR104.

Make sure clock is hold during tuning for sdio devices.

Signed-off-by: Fredrik Soderstedt <fredrik.soderstedt@stericsson.com>
Acked-by: Johan Rudholm <jrudholm@gmail.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c