Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 064e156e authored by Marco Felsch's avatar Marco Felsch Committed by Greg Kroah-Hartman
Browse files

media: v4l2-fwnode: fix v4l2_fwnode_parse_link handling

[ Upstream commit 453b0c8304dcbc6eed2836de8fee90bf5bcc7006 ]

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: ca50c197 ("[media] v4l: fwnode: Support generic fwnode for parsing standardised properties")
Signed-off-by: default avatarMarco Felsch <m.felsch@pengutronix.de>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: d7b13edd4cb4 ("media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7a9619e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment