media: s5p-mfc: use clock gating only on mfc v5 hardware
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 1 Aug 2016 11:55:21 +0000 (13:55 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 4 Aug 2016 04:32:08 +0000 (13:32 +0900)
commit5a21b6fbcde285f82f66e420e67241773bc3ecff
tree3f9151a9bbfd60c19304db84408d25cc21e50c1e
parenta57b716e32e5a13291114b09fb4bfce2da8d3da1
media: s5p-mfc: use clock gating only on mfc v5 hardware

Software clock gating causes unpredicted behavior of newer MFC hardware,
so use it only when working with v5 module.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I5a636b9c46b5e387da4d1c4f6dbb4adb583085e3
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