From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Date: Tue, 29 May 2018 20:31:43 +0200 Subject: [PATCH v2 2/2] i2c: busses: make use of i2c_8bit_addr_from_msg In-Reply-To: <20180516071647.29277-3-peda@axentia.se> References: <20180516071647.29277-1-peda@axentia.se> <20180516071647.29277-3-peda@axentia.se> Message-ID: <20180529183143.ker46to34gr5hx3w@ninjato> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Wed, May 16, 2018 at 09:16:47AM +0200, Peter Rosin wrote: > Because it looks neater. >=20 > For diolan, this allows factoring out some code that is now common > between if and else. >=20 > For eg20t, pch_i2c_writebytes is always called with a write in > msgs->flags, and pch_i2c_readbytes with a read. >=20 > 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. >=20 > For qup, qup_i2c_write_tx_fifo_v1 is always called with a write in > qup->msg->flags. >=20 > For stu300, also restructure debug output for resends, since that > code as a result is only handling debug output. >=20 > Reviewed-by: Guenter Roeck [diolan] > Acked-by: Uwe Kleine-K=C3=B6nig [emf32 a= nd imx] > Acked-by: Linus Walleij [stu300] > Signed-off-by: Peter Rosin Applied to for-next, thanks! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: