mmc: sdhci: Simplify use of tuning timer
authorAdrian Hunter <[email protected]>
Fri, 5 Dec 2014 17:25:30 +0000 (19:25 +0200)
committerUlf Hansson <[email protected]>
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 <[email protected]>
Reviewed-by: Aaron Lu <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
drivers/mmc/host/sdhci.c