]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1060b21b7821741e23a55fa19860392038e3edc7
tree860eda01486050c708b048887080ac7da6887f0e
parentb85279b901800633a00e9cb2ccb1d2e7da30e819
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