OSDN Git Service

mmc: sdhci: Change to new way of doing re-tuning
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 Apr 2015 12:09:52 +0000 (15:09 +0300)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 28 Apr 2015 17:05:39 +0000 (01:05 +0800)
commit911b252cdf23a479caf4b9db7bb05d94c16bc452
treeae4d8d577cad57cef42914b35792f6b4668e65a2
parent74868baf6b449c294b035b2529379ca43a17abdf
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>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h