From: Benoit Parrot <bparrot@ti.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
Date: Fri, 7 Jul 2017 07:50:08 -0500 [thread overview]
Message-ID: <20170707125007.GC28931@ti.com> (raw)
In-Reply-To: <87k23xez30.wl%kuninori.morimoto.gx@renesas.com>
Acked-by: Benoit Parrot <bparrot@ti.com>
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> wrote on Wed [2017-Jun-28 00:33:00 +0000]:
>
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> based on 4c9c3d595f1bad021cc126d20879df4016801736
> ("of_graph: add of_graph_get_remote_endpoint()")
>
> 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 177faa3..0c7ddf8 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;
> --
> 1.9.1
>
WARNING: multiple messages have this Message-ID (diff)
From: Benoit Parrot <bparrot@ti.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Rob Herring <robh+dt@kernel.org>, <devicetree@vger.kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
<linux-media@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/3] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
Date: Fri, 7 Jul 2017 07:50:08 -0500 [thread overview]
Message-ID: <20170707125007.GC28931@ti.com> (raw)
In-Reply-To: <87k23xez30.wl%kuninori.morimoto.gx@renesas.com>
Acked-by: Benoit Parrot <bparrot@ti.com>
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> wrote on Wed [2017-Jun-28 00:33:00 +0000]:
>
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> based on 4c9c3d595f1bad021cc126d20879df4016801736
> ("of_graph: add of_graph_get_remote_endpoint()")
>
> 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 177faa3..0c7ddf8 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;
> --
> 1.9.1
>
next prev parent reply other threads:[~2017-07-07 12:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 0:31 [PATCH 0/3] use of_graph_get_remote_endpoint() Kuninori Morimoto
[not found] ` <87mv8tez69.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-06-28 0:28 ` [PATCH 3/3] omapfb: " Kuninori Morimoto
2017-06-28 0:28 ` Kuninori Morimoto
2017-06-28 0:28 ` Kuninori Morimoto
2017-06-28 0:32 ` [PATCH 1/3] drm: rcar-du: " Kuninori Morimoto
2017-06-28 0:32 ` Kuninori Morimoto
2017-06-29 10:44 ` Laurent Pinchart
2017-06-29 10:44 ` Laurent Pinchart
2017-06-29 11:22 ` Geert Uytterhoeven
2017-06-29 11:26 ` Laurent Pinchart
2017-06-29 11:26 ` Laurent Pinchart
2017-06-29 11:32 ` Geert Uytterhoeven
2017-06-28 0:33 ` [PATCH 2/3] media: ti-vpe: cal: " Kuninori Morimoto
2017-06-28 0:33 ` Kuninori Morimoto
2017-06-28 8:51 ` Sylwester Nawrocki
2017-07-07 12:50 ` Benoit Parrot [this message]
2017-07-07 12:50 ` Benoit Parrot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170707125007.GC28931@ti.com \
--to=bparrot@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.