From: Felipe Balbi Date: Wed, 12 Sep 2012 10:58:10 +0000 (+0530) Subject: i2c: omap: resize fifos before each message X-Git-Tag: v3.7-rc1~50^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd74548ddece4b9d68e5528287a272fa552c81d0;p=pandora-kernel.git i2c: omap: resize fifos before each message This patch will try to avoid the usage of draining feature by reconfiguring the FIFO the start condition of each message based on the message's size. By doing that, we will be better utilizing the FIFO when doing big transfers. While at that also drop the now unneeded check for dev->buf_len as we always know the amount of data to be transmitted. Signed-off-by: Felipe Balbi Signed-off-by: Shubhrajyoti D Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed