This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: v4l2-async: Use endpoints in __v4l2_async_nf_add_fwnode_remote()
Author:  Laurent Pinchart <[email protected]>
Date:    Mon Mar 21 14:51:34 2022 +0000

Matching on device fwnode handles is deprecated in favour of endpoint
fwnode handles. Switch the __v4l2_async_nf_add_fwnode_remote() function
to use the latter. The match code handles backward compatibility by
falling by to the device fwnode handle, so this shouldn't introduce any
regression.

Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/v4l2-core/v4l2-async.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/v4l2-core/v4l2-async.c 
b/drivers/media/v4l2-core/v4l2-async.c
index 436bd6900fd8..c6995718237a 100644
--- a/drivers/media/v4l2-core/v4l2-async.c
+++ b/drivers/media/v4l2-core/v4l2-async.c
@@ -693,7 +693,7 @@ __v4l2_async_nf_add_fwnode_remote(struct 
v4l2_async_notifier *notif,
        struct v4l2_async_subdev *asd;
        struct fwnode_handle *remote;
 
-       remote = fwnode_graph_get_remote_port_parent(endpoint);
+       remote = fwnode_graph_get_remote_endpoint(endpoint);
        if (!remote)
                return ERR_PTR(-ENOTCONN);
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to