]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Simplify use of tuning timer
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 5 Dec 2014 17:25:30 +0000 (19:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 12 Jan 2015 09:14:56 +0000 (10:14 +0100)
commit046d3a3adc6360a0adc9e56eff0af9111417eb9d
treefbe35f52cc731ba88d7f87ed961e2039e236ef85
parentea6fa657d3710a079baf9417b4a87b608a5052ba
mmc: sdhci: Simplify use of tuning timer

The tuning timer is always used if the tuning mode
is 1 and there is a tuning count, irrespective of
whether this is the first call, or any subsequent
call. Consequently the logic to start the timer
can be simplified.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c