]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: qcom: camss: change internals of endpoint parsing to fwnode handling
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Thu, 20 Nov 2025 00:46:03 +0000 (02:46 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 09:25:01 +0000 (10:25 +0100)
commiteccf5fa8e3fef5f986dc42e0d15a56b74f5ee128
tree21628757ff99636eb85ec03a8583529ead16fe2d
parentd965919af524e68cb2ab1a685872050ad2ee933d
media: qcom: camss: change internals of endpoint parsing to fwnode handling

Since a few called V4L2 functions operate with fwnode arguments the change
from OF device nodes to fwnodes brings a simplification to the code.

The camss_parse_endpoint_node() function is called once by camss_probe(),
and there is no use of knowing a number of asynchronously registered
remote devices, so it makes sense to remove the related computation from
the function.

Tested-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/camss/camss.c