[media] exynos-gsc: Correct the clock handling
authorSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Mon, 26 Nov 2012 06:20:20 +0000 (03:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 12:25:14 +0000 (10:25 -0200)
commit21ae96d3973b926e89edf52bae560475105455ef
tree7c6de58b739a0cf8c377b72b1248ae95bb99d765
parent9318ab69c50b82f9f513a20955ebd2cb1f482adc
[media] exynos-gsc: Correct the clock handling

Make sure there is no unbalanced clk_unprepare call and add missing
clock release in the driver's remove() callback.

Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos-gsc/gsc-core.c