mmc: davinci: prepare clock
authorDavid Lechner <david@lechnology.com>
Tue, 5 Apr 2016 17:31:50 +0000 (12:31 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:19 +0000 (10:33 +0200)
commite2f3bfbdc9f4929d767bc0d8033322a72d51193e
tree860eda01486050c708b048887080ac7da6887f0e
parent62ac52b2fbcc8036d1fd4860b232fef2d554fa4d
mmc: davinci: prepare clock

When trying to use this driver with the common clock framework, enabling
the clock fails because it was not prepared. This fixes the problem by
calling clk_prepare and clk_enable in a single function. Ditto for
clk_disable_unprepare.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/davinci_mmc.c