[media] exynos4-is: Simplify sclk_cam clocks handling
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 19 Jul 2013 13:05:17 +0000 (10:05 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 Aug 2013 07:52:23 +0000 (04:52 -0300)
commit044c372aeb87946c64f10fe7bbe0f8c4b3222121
tree823535c7f5208e501db134bd4b582130bdb8d479
parentb74bee1584cf88ed28d15520ff7e74bdc69a7f64
[media] exynos4-is: Simplify sclk_cam clocks handling

Use clk_prepare_enable()/clk_disable_unprepare() instead of
separately prearing/unparing the clk_cam clocks. This simplifies
the code that is now mostly not going to be used, function
__fimc_md_set_camclk() is only left for S5PV210 platform which
is not yet converted to Device Tree.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/exynos4-is/media-dev.c