Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705131 > unrolled thread

Re: [PATCH][resend] media: ti-vpe: cal: use of_graph_get_remote_endpoint()

Started byHans Verkuil <hverkuil@xs4all.nl>
First post2017-08-07 09:00 +0200
Last post2017-08-07 09:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH][resend] media: ti-vpe: cal: use  of_graph_get_remote_endpoint() Hans Verkuil <hverkuil@xs4all.nl> - 2017-08-07 09:00 +0200

#1705131 — Re: [PATCH][resend] media: ti-vpe: cal: use of_graph_get_remote_endpoint()

FromHans Verkuil <hverkuil@xs4all.nl>
Date2017-08-07 09:00 +0200
SubjectRe: [PATCH][resend] media: ti-vpe: cal: use of_graph_get_remote_endpoint()
Message-ID<ubKb8-4Nl-3@gated-at.bofh.it>
On 07/08/17 04:13, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Now, we can use of_graph_get_remote_endpoint(). Let's use it.

I'm not sure why this is resent. It's part of a pending pull request
so I expect it to be merged this week.

Regards,

	Hans

> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.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 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;
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web