]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: Convert to mmc_send_tuning()
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Dec 2014 15:13:39 +0000 (16:13 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:23 +0000 (09:56 +0100)
commit9bf76dccc1923f00bc3267f7be13695a77c3244c
tree66de5463c6bd97152d3b31dea51b48c6a79bfff3
parenta633eb4b11d0a7d21309dfb66e0caf5a9f5c614d
mmc: dw_mmc: Convert to mmc_send_tuning()

Instead of having a local hack taking care of sending the tuning
command and as well to verify the response pattern, let's convert to
the common mmc_send_tuning() API.

This change affects the Exynos variant, since it's the only one which
support the dw_mmc's ->execute_tuning() callback.

It's seems like dw_mmc internal logic expects failed data transfers to
be ended using a stop command. Let the tuning requests also fall into
this category, since there are data transfer involved.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
drivers/mmc/host/dw_mmc-exynos.c
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h