]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s5p-mfc: Don't keep clock prepared all the time
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 16 Nov 2016 09:04:56 +0000 (07:04 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 30 Nov 2016 11:20:39 +0000 (09:20 -0200)
commit741f4331d07fd670b9ebb5eeda18208b6eb2ba28
treea189876a1fb8a1b0a28e82d62d7a07cb3530ae28
parent387e08e2021022e764a235df6c1f0ed3d861f711
[media] s5p-mfc: Don't keep clock prepared all the time

This patch moves preparation of clocks from s5p_mfc_init_pm()
(driver probe) to s5p_mfc_power_on() (start of device operation).
This change will allow to use runtime power usage optimization
on newer Samsung Exynos platforms (for example Exynos 5433).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-mfc/s5p_mfc_pm.c