Re: [PATCH] media: i2c: add KConfig dependencies

2017-08-09 Thread Arnd Bergmann
On Wed, Aug 9, 2017 at 9:48 AM, Sakari Ailus wrote: > Hi Arnd, > > Thanks for the patch. > > On Tue, Jul 25, 2017 at 05:36:45PM +0200, Arnd Bergmann wrote: >> @@ -618,8 +618,9 @@ config VIDEO_OV6650 >> >> config VIDEO_OV5670 >> tristate "OmniVision OV5670 sensor support" >> - depends on

Re: [PATCH] media: i2c: add KConfig dependencies

2017-08-09 Thread Sakari Ailus
Hi Arnd, Thanks for the patch. On Tue, Jul 25, 2017 at 05:36:45PM +0200, Arnd Bergmann wrote: > @@ -618,8 +618,9 @@ config VIDEO_OV6650 > > config VIDEO_OV5670 > tristate "OmniVision OV5670 sensor support" > - depends on I2C && VIDEO_V4L2 > + depends on I2C && VIDEO_V4L2 && VIDEO

[PATCH] media: i2c: add KConfig dependencies

2017-07-25 Thread Arnd Bergmann
The new ov5670 driver fails to build when VIDEO_V4L2_SUBDEV_API or MEDIA_CONTROLLER are disabled: drivers/media/i2c/ov5670.c: In function 'ov5670_open': drivers/media/i2c/ov5670.c:1917:5: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_notify_event'