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

From: Wolfram Sang
Date: Thu Mar 03 2016 - 16:18:46 EST


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@xxxxxxxxxxxx>
> ---
> change in v2:
> Remove the unused variable left_num in mtk_i2c_transfer().

Attachment: signature.asc
Description: PGP signature