]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: Use clock gating only on MFC v5 hardware
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 10 Nov 2016 10:31:23 +0000 (08:31 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 18:40:13 +0000 (16:40 -0200)
commit7279f58d06b49b98d7095ec8f2a1c39d3bbaccde
treef05eb4c8eeef88783049eb2db6395a25753b6025
parentc178a8962e5241bff90e6a3c965d38784efe0ce5
[media] s5p-mfc: Use clock gating only on MFC v5 hardware

Newer MFC hardware have internal clock gating feature, so additional
software-triggered clock gating sometimes causes misbehavior of the MFC
firmware and results in freeze or crash. This patch changes the driver
to use software-triggered clock gating only when working with v5 MFC
hardware, where it has been proven to work properly.

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
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_pm.c