]> 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)
commitef0c3b0f4b829ad9549bc523c8971ff87929848c
tree23db5c205e402cac7e4e9f8cdef5f0ff45e56998
parentf53e7b9055c6de7e8a2e690d58e37c94ec85d368
[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