]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit38e40bf5db9d5b8cbaeca9a78ee17f38473dd78d
treefbe35f52cc731ba88d7f87ed961e2039e236ef85
parentd519c863fc198f43c979e9d6a74b53d9c53d55aa
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