[media] exynos4-is: Improve clock management
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 31 Aug 2016 13:25:17 +0000 (10:25 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Sep 2016 13:14:27 +0000 (10:14 -0300)
commit5f6d636f91da5e9f44f2eac070688817f3acc34c
tree60b6477985e506c987ba239cc81bee68ce056552
parent438236e7c151ec797d433fd4c3e770f55cdc5d04
[media] exynos4-is: Improve clock management

There is no need to keep all clocks prepared all the time. Call to
clk_prepare/unprepare can be done on demand from runtime pm callbacks
(it is allowed to call sleeping functions from that context).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/exynos4-is/fimc-lite.c