]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit6c2c6506101f030808c0f2d429399dc1ee7a1a06
tree66de5463c6bd97152d3b31dea51b48c6a79bfff3
parent6f2d3c89db7c2ef6ceb03feefa325f52ea639a41
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