[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180529183143.ker46to34gr5hx3w@ninjato>
Date: Tue, 29 May 2018 20:31:43 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Peter Rosin <peda@...ntia.se>
Cc: linux-kernel@...r.kernel.org,
Brendan Higgins <brendanhiggins@...gle.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>,
Guenter Roeck <linux@...ck-us.net>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Peter Korsgaard <jacmet@...site.dk>,
Andy Gross <andy.gross@...aro.org>,
David Brown <david.brown@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-i2c@...r.kernel.org, openbmc@...ts.ozlabs.org,
linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linuxppc-dev@...ts.ozlabs.org,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org
Subject: Re: [PATCH v2 2/2] i2c: busses: make use of i2c_8bit_addr_from_msg
On Wed, May 16, 2018 at 09:16:47AM +0200, Peter Rosin wrote:
> Because it looks neater.
>
> For diolan, this allows factoring out some code that is now common
> between if and else.
>
> For eg20t, pch_i2c_writebytes is always called with a write in
> msgs->flags, and pch_i2c_readbytes with a read.
>
> For imx, i2c_imx_dma_write and i2c_imx_write are always called with a
> write in msgs->flags, and i2c_imx_read with a read.
>
> For qup, qup_i2c_write_tx_fifo_v1 is always called with a write in
> qup->msg->flags.
>
> For stu300, also restructure debug output for resends, since that
> code as a result is only handling debug output.
>
> Reviewed-by: Guenter Roeck <linux@...ck-us.net> [diolan]
> Acked-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de> [emf32 and imx]
> Acked-by: Linus Walleij <linus.walleij@...aro.org> [stu300]
> Signed-off-by: Peter Rosin <peda@...ntia.se>
Applied to for-next, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists