mmc: sunxi: Factor out clock phase setting code into a helper function
authorHans de Goede <hdegoede@redhat.com>
Sat, 30 Jul 2016 14:25:46 +0000 (16:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:05 +0000 (21:31 +0200)
commitf2cecb70941c8d4a9445ee85926202f7157e1222
tree5f56bca3084582d3b012ffd3cd0071fe876a114c
parent86a93317ed71f9ad8bca7baff12930c47c235f80
mmc: sunxi: Factor out clock phase setting code into a helper function

Add a sunxi_mmc_clk_set_phase() helper function.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c