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

From: Arnd Bergmann
Date: Wed Aug 09 2017 - 04:27:48 EST


On Wed, Aug 9, 2017 at 9:48 AM, Sakari Ailus <sakari.ailus@xxxxxx> 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 I2C && VIDEO_V4L2
>> + depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
>> depends on MEDIA_CAMERA_SUPPORT
>> + depends on MEDIA_CONTROLLER
>> select V4L2_FWNODE
>> ---help---
>> This is a Video4Linux2 sensor-level driver for the OmniVision
>
> Applied, with dropping explicit MEDIA_CONTROLLER. VIDEO_V4L2_SUBDEV_API
> already depends on MEDIA_CONTROLLER.

makes sense, thanks!

Arnd