[PATCH v2] i2c: mediatek: i2c multi transfer optimization

Wolfram Sang wsa at the-dreams.de
Thu Mar 3 13:18:35 PST 2016


On Fri, Feb 26, 2016 at 01:35:39AM +0800, Liguo Zhang wrote:
> Send the next transfer in the i2c irq handler, and only signal
> complete() when the entire transaction has been completed.

This describes what you do. But not why. Is this an improvment of
throughput? Is there a downside of interrupt latency?

Thanks.

> 
> Signed-off-by: Liguo Zhang <liguo.zhang at mediatek.com>
> ---
> change in v2:
> Remove the unused variable left_num in mtk_i2c_transfer().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160303/273deaa9/attachment.sig>


More information about the linux-arm-kernel mailing list