Re: [PATCH v2 1/2] i2c: xlr: fix extra read/write at end of rx transfer

From: Wolfram Sang
Date: Wed Dec 16 2015 - 05:43:37 EST


On Tue, Dec 15, 2015 at 11:15:05PM +0000, Mans Rullgard wrote:
> The BYTECNT register holds the transfer size minus one. Setting it to
> the correct value removes the need for a dummy read/write at the end of
> each transfer. As zero-length transfers are not supported, do not
> advertise I2C_FUNC_SMBUS_QUICK.
>
> In other words, this patch makes the driver transfer the number of bytes
> requested unless this is zero, which is not supported by the hardware
> and is thus refused.
>
> Signed-off-by: Mans Rullgard <mans@xxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: Digital signature