From: Shinya Kuribayashi Date: Fri, 6 Nov 2009 12:49:39 +0000 (+0900) Subject: i2c-designware: Initialize byte count variables just prior to being used X-Git-Tag: v2.6.33-rc1~339^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae72222d03fea3ff561e2a3aee483ef7bd1a2bbb;p=pandora-kernel.git 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 Acked-by: Baruch Siach Signed-off-by: Ben Dooks --- Reading git-diff-tree failed