]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitfc906b6d189f26e869b11b94eaa9a733b3950740
tree23db5c205e402cac7e4e9f8cdef5f0ff45e56998
parent644469aefbac3c007284b43ac932ba6f1794a110
[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