kernel: bump 4.14 to 4.14.144
[openwrt/openwrt.git] / target / linux / generic / pending-4.19 / 840-media-i2c-tda1997x-select-V4L2_FWNODE.patch
1 From 237e88dcbcb0098e1a8a0887fb7299fcf18650a5 Mon Sep 17 00:00:00 2001
2 From: Koen Vandeputte <koen.vandeputte@ncentric.com>
3 Date: Mon, 18 Mar 2019 17:39:26 +0100
4 Subject: [PATCH] media: i2c: tda1997x: select V4L2_FWNODE
5
6 Building tda1997x fails now unless V4L2_FWNODE is selected:
7
8 drivers/media/i2c/tda1997x.o: in function `tda1997x_parse_dt'
9 undefined reference to `v4l2_fwnode_endpoint_parse'
10
11 While at it, also sort the selections alphabetically
12
13 Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver")
14 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
15 Cc: Akinobu Mita <akinobu.mita@gmail.com>
16 Cc: Bingbu Cao <bingbu.cao@intel.com>
17 Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
18 Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>
19 Cc: Matt Ranostay <matt.ranostay@konsulko.com>
20 Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
21 Cc: Robin Leblon <robin.leblon@ncentric.com>
22 Cc: Rui Miguel Silva <rui.silva@linaro.org>
23 Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
24 Cc: Tim Harvey <tharvey@gateworks.com>
25 Cc: linux-kernel@vger.kernel.org
26 Cc: stable@vger.kernel.org # v4.17+
27 ---
28 drivers/media/i2c/Kconfig | 3 ++-
29 1 file changed, 2 insertions(+), 1 deletion(-)
30
31 --- a/drivers/media/i2c/Kconfig
32 +++ b/drivers/media/i2c/Kconfig
33 @@ -60,8 +60,9 @@ config VIDEO_TDA1997X
34 tristate "NXP TDA1997x HDMI receiver"
35 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
36 depends on SND_SOC
37 - select SND_PCM
38 select HDMI
39 + select SND_PCM
40 + select V4L2_FWNODE
41 ---help---
42 V4L2 subdevice driver for the NXP TDA1997x HDMI receivers.
43