OSDN Git Service

mmc: sdhci: Change to new way of doing re-tuning
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 7 May 2015 10:10:21 +0000 (13:10 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:57 +0000 (09:06 +0200)
commit66c39dfc92f9d35ed9f713833156547842086891
treeaae589b190d43c2532d77048bf6fbc98955ab9ad
parent6376f69d20a6905c1d83be451065f70200490b98
mmc: sdhci: Change to new way of doing re-tuning

Make use of mmc core support for re-tuning instead
of doing it all in the sdhci driver.

This patch also changes to flag the need for re-tuning
always after runtime suspend when tuning has been used
at initialization. Previously it was only done if
the re-tuning timer was in use.

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