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

Subject: media: ti-vpe: cal: use of_graph_get_remote_endpoint()
Author:  Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Date:    Sun Jul 23 21:36:54 2017 -0400

Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
Reviewed-by: Sylwester Nawrocki <s.nawro...@samsung.com>
Acked-by: Benoit Parrot <bpar...@ti.com>
Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 drivers/media/platform/ti-vpe/cal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/platform/ti-vpe/cal.c 
b/drivers/media/platform/ti-vpe/cal.c
index 177faa36bc16..0c7ddf894a69 100644
--- a/drivers/media/platform/ti-vpe/cal.c
+++ b/drivers/media/platform/ti-vpe/cal.c
@@ -1702,7 +1702,7 @@ static int of_cal_create_instance(struct cal_ctx *ctx, 
int inst)
        asd->match_type = V4L2_ASYNC_MATCH_FWNODE;
        asd->match.fwnode.fwnode = of_fwnode_handle(sensor_node);
 
-       remote_ep = of_parse_phandle(ep_node, "remote-endpoint", 0);
+       remote_ep = of_graph_get_remote_endpoint(ep_node);
        if (!remote_ep) {
                ctx_dbg(3, ctx, "can't get remote-endpoint\n");
                goto cleanup_exit;

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to