commit | ae72222d03fea3ff561e2a3aee483ef7bd1a2bbb | [log] [tgz] |
---|---|---|
author | Shinya Kuribayashi <shinya.kuribayashi@necel.com> | Fri Nov 06 21:49:39 2009 +0900 |
committer | Ben Dooks <ben-linux@fluff.org> | Wed Dec 09 00:19:11 2009 +0000 |
tree | e08e9e5d81fbbec97d2c6b47a09c1e7bf4be24b5 | |
parent | 26ea15b1f584de02bc85e9c3968d523386332f65 [diff] |
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>