]> git.baikalelectronics.ru Git - kernel.git/commit
media: exynos4-is: Request syscon only if ISP writeback is present
authorTomasz Figa <tomasz.figa@gmail.com>
Thu, 30 Jul 2020 23:01:05 +0000 (01:01 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 12:13:25 +0000 (14:13 +0200)
commit15aa8dee0f32e7686885e4b0d2f275cc8cb2db98
treebae4a70144dd0d681d9d7951b8aa8760323f2ab9
parent34b0b7b7c58e6da768b516bf98b70f5d44bd07f0
media: exynos4-is: Request syscon only if ISP writeback is present

On FIMC variants which don't have writeback channel, there is no need to
access system registers. This patch makes the driver request sysreg
regmap conditionally depending on whether writeback is supported.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/exynos4-is/fimc-core.c