]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: qcom: camss: remove a check for unavailable CAMSS endpoint
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Wed, 3 Sep 2025 00:22:53 +0000 (03:22 +0300)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:22 +0000 (15:59 +0200)
Media endpoints are not devices, and there is no valid or sane usecase,
when an endpoint on the ISP side is an unavailable device.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Tested-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
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

index a375ccceb784a7e61a85567a7d3cde057b1641dd..2fbcd0e343aac9620a5a30719c42e1b887cf34ed 100644 (file)
@@ -3636,9 +3636,6 @@ static int camss_of_parse_ports(struct camss *camss)
        for_each_endpoint_of_node(dev->of_node, node) {
                struct camss_async_subdev *csd;
 
-               if (!of_device_is_available(node))
-                       continue;
-
                remote = of_graph_get_remote_port_parent(node);
                if (!remote) {
                        dev_err(dev, "Cannot get remote parent\n");