mmc: core: add core-level function for sending tuning commands
authorMinda Chen <Minda.Chen@csr.com>
Wed, 26 Nov 2014 05:05:33 +0000 (13:05 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Nov 2014 13:36:51 +0000 (14:36 +0100)
commit996903de92f0c7a32d8c83f37d7ebcea0def8660
treee4a4d16b0f9a088c1be9cf57583d676348d1ff50
parentc6eb588028f8f23dae8e26312cf192f365c85b95
mmc: core: add core-level function for sending tuning commands

According to the SD card spec, Add a manual tuning command function
for SDR104/HS200.
Sending command 19 or command 21 to read data and compare with the
tunning block pattern.

This patch will help to decrease some platform private codes in SDHCI
platform_execute_tuning() callbacks.

Signed-off-by: Minda Chen <Minda.Chen@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_ops.c
include/linux/mmc/core.h