mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
media: qcom: camss: remove a check for unavailable CAMSS endpoint
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>
This commit is contained in:
parent
605af91e90
commit
dcf6fb89e6
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user