From: Sascha Hauer <s.hauer@pengutronix.de>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] video: tc358767: don't link AUX i2c adapter to parent OF node
Date: Wed, 25 Apr 2018 11:34:19 +0200 [thread overview]
Message-ID: <20180425093419.yblvipqpui3awyrv@pengutronix.de> (raw)
In-Reply-To: <20180420103541.26772-1-l.stach@pengutronix.de>
On Fri, Apr 20, 2018 at 12:35:41PM +0200, Lucas Stach wrote:
> Otherwise the i2c core will try to populate the TC358767 child nodes
> as i2c devices, which is wrong.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> drivers/video/tc358767.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/video/tc358767.c b/drivers/video/tc358767.c
> index d4749b15c7a1..125e8236c153 100644
> --- a/drivers/video/tc358767.c
> +++ b/drivers/video/tc358767.c
> @@ -1413,7 +1413,6 @@ static int tc_probe(struct device_d *dev)
> tc->adapter.master_xfer = tc_aux_i2c_xfer;
> tc->adapter.nr = -1; /* any free */
> tc->adapter.dev.parent = dev;
> - tc->adapter.dev.device_node = dev->device_node;
> /* Add I2C adapter */
> ret = i2c_add_numbered_adapter(&tc->adapter);
> if (ret < 0) {
> --
> 2.16.3
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2018-04-25 9:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-20 10:35 Lucas Stach
2018-04-25 9:34 ` Sascha Hauer [this message]
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=20180425093419.yblvipqpui3awyrv@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=l.stach@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox