]> git.baikalelectronics.ru Git - kernel.git/commit
media: s5p-mfc: Make additional clocks optional
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 13 Jun 2019 10:48:34 +0000 (06:48 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:50:54 +0000 (16:50 -0400)
commit29d0f056a3f56a1d765cb7642068236aed9ae104
tree7c8693fb8b3db66d440103ea631bb93649ec8999
parent46948657c80d1ef5a124861aa452e810bc157d56
media: s5p-mfc: Make additional clocks optional

Since the beginning the second clock ('special', 'sclk') was optional and
it is not available on some variants of Exynos SoCs (i.e. Exynos5420 with
v7 of MFC hardware).

However commit a5ce2efe115b ("[media] s5p-mfc: Rework clock handling")
made handling of all specified clocks mandatory. This patch restores
original behavior of the driver and fixes its operation on
Exynos5420 SoCs.

Fixes: a5ce2efe115b ("[media] s5p-mfc: Rework clock handling")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/s5p-mfc/s5p_mfc_pm.c