]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-fwnode: fix v4l2_fwnode_parse_link handling
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 12 Mar 2020 10:31:39 +0000 (11:31 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 15:30:25 +0000 (16:30 +0100)
commitff84ea50986618d39bd427aa8dc9001db368c2c3
tree4c498de288447000466dd76aaee77d84ef3cec6d
parent3f869453e8916e935a6d9aae9f1e26e880d3a1c2
media: v4l2-fwnode: fix v4l2_fwnode_parse_link handling

Currently the driver differentiate the port number property handling for
ACPI and DT. This is wrong as because ACPI should use the "reg" val too
[1].

[1] https://patchwork.kernel.org/patch/11421985/

Fixes: 1c68819e0096 ("[media] v4l: fwnode: Support generic fwnode for parsing standardised properties")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-fwnode.c