diff options
author | Laurent Pinchart | 2015-04-12 14:09:05 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2015-04-28 13:38:23 +0200 |
commit | fefad2d54beb8aad6bf4ac6daeb74f86f52565de (patch) | |
tree | f67352cfdc8845ea06c340966e81902d77f91ba4 /drivers/staging/media/omap4iss/Kconfig | |
parent | [media] media: soc_camera: rcar_vin: Fix wait_for_completion (diff) | |
download | kernel-qcow2-linux-fefad2d54beb8aad6bf4ac6daeb74f86f52565de.tar.gz kernel-qcow2-linux-fefad2d54beb8aad6bf4ac6daeb74f86f52565de.tar.xz kernel-qcow2-linux-fefad2d54beb8aad6bf4ac6daeb74f86f52565de.zip |
[media] v4l: omap4iss: Replace outdated OMAP4 control pad API with syscon
The omap4_ctrl_pad_readl and omap4_ctrl_pad_writel functions have been
removed by commit efde234674d9 but are still used by the OMAP4 ISS
driver, resulting in a compilation breakage:
drivers/staging/media/omap4iss/iss_csiphy.c: In function 'omap4iss_csiphy_config':
drivers/staging/media/omap4iss/iss_csiphy.c:167:2: error: implicit declaration of function 'omap4_ctrl_pad_writel' [-Werror=implicit-function-declaration]
omap4_ctrl_pad_writel(cam_rx_ctrl,
Fix the problem by using the syscon API to reaplace the control pad API.
Lookup the syscon instance by compatible name for now as the OMAP4 ISS
driver doesn't support DT yet.
Fixes: efde234674d9 ("ARM: OMAP4+: control: remove support for legacy pad read/write")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Alius <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/Kconfig')
-rw-r--r-- | drivers/staging/media/omap4iss/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/omap4iss/Kconfig b/drivers/staging/media/omap4iss/Kconfig index b78643f907e7..072dac04a750 100644 --- a/drivers/staging/media/omap4iss/Kconfig +++ b/drivers/staging/media/omap4iss/Kconfig @@ -2,6 +2,7 @@ config VIDEO_OMAP4 bool "OMAP 4 Camera support" depends on VIDEO_V4L2=y && VIDEO_V4L2_SUBDEV_API && I2C=y && ARCH_OMAP4 depends on HAS_DMA + select MFD_SYSCON select VIDEOBUF2_DMA_CONTIG ---help--- Driver for an OMAP 4 ISS controller. |