i2c-designware: Initialize byte count variables just prior to being used
As the driver and hardware always process the given data in parallel, then it would be better to initialize tx_limit, rx_limit and rx_valid variables just prior to being used. This will help us to send / receive as much data as possible. Signed-off-by:Shinya Kuribayashi <shinya.kuribayashi@necel.com> Acked-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Ben Dooks <ben-linux@fluff.org>
parent
26ea15b1
Please register or sign in to comment