]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: Remove special clock usage in driver
authorArun Kumar K <arun.kk@samsung.com>
Mon, 27 May 2013 06:39:29 +0000 (03:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 3 Jun 2013 18:52:33 +0000 (15:52 -0300)
commit4ed103e458427ab92ed928b84df3a1cb70981938
tree23db5c205e402cac7e4e9f8cdef5f0ff45e56998
parent185d3bb985bae593e109eab01120c8702fac6f58
[media] s5p-mfc: Remove special clock usage in driver

MFC uses two clocks - MFC gate clock and special clock
which is named as "sclk_mfc" in exynos4 and "aclk_333" in
exynos5 SoC. The driver was doing just a clk_prepare on
this special clock without a clk_enable call. As this
sclk is the parent of gate clock, it gets prepared and
enabled along with the gate clock. So there is no need
for the driver to use this sclk. This patch removes the
sclk usage from driver.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_pm.c