]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] s5p-mfc: Ensure that clock is disabled before turning power off
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 16 Nov 2016 09:04:53 +0000 (07:04 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 30 Nov 2016 11:17:18 +0000 (09:17 -0200)
commit8accb8fdf6ea6e1e4eb513e88e06d629ed01103b
tree2aabd54382480045982af46640d5e18ddf15a489
parent2e4e084465dd21f8a76c9fc5da496009d5803ada
[media] s5p-mfc: Ensure that clock is disabled before turning power off

Move clock disabling before turning power off.  This will enable later
to add calls to clk_prepare/unprepare in the s5p_mfc_power_off() function
to avoid keeping clocks prepared all the time when driver is bound.

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.c