]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3a923d8ba963d62fbfce3f8a8599c8e12ed6ebf
treee4a4d16b0f9a088c1be9cf57583d676348d1ff50
parent0fbc25ca91618bab704a0034f7278f23c07aac30
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