Re: Failed to build on 4.2.6

From: Randy Dunlap
Date: Mon Dec 07 2015 - 13:04:50 EST


On 12/07/15 07:25, Steven Rostedt wrote:
> Hi,
>
> The attached config doesn't build on 4.2.6, but changing it to the
> following:
>
> VIDEO_V4L2_SUBDEV_API n -> y
> +V4L2_FLASH_LED_CLASS n
>
> does build.
>
> Sorry, I lost the build error (currently building now with a good
> config), But it's because in drivers/media/i2c/adv7604.c,
> v4l2_subdev_get_try_format() is not defined.
>
> -- Steve
>

4.2 stable needs this patch:

commit fc88dd16a0e430f57458e6bd9b62a631c6ea53a1
Author: Hans Verkuil <hverkuil@xxxxxxxxx>
Date: Mon Sep 21 08:42:04 2015 -0300

[media] cobalt: fix Kconfig dependency

The cobalt driver should depend on VIDEO_V4L2_SUBDEV_API.

===

There was also an intervening patch which may cause some editing:

commit 2f8e75d2762496bb2fcea7fa437a3339d2a6d9d4
Author: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Mon Jun 29 10:45:56 2015 -0300

[media] adv7604/cobalt: Allow compile test if !GPIOLIB



--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/