From: Andrew Jackson Date: Fri, 7 Nov 2014 12:10:44 +0000 (+0000) Subject: i2c: designware: prevent early stop on TX FIFO empty X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~40^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39f77b06a712fcba6185a20bb209e357923d980;p=pandora-kernel.git i2c: designware: prevent early stop on TX FIFO empty If the Designware core is configured with IC_EMPTYFIFO_HOLD_MASTER_EN set to zero, allowing the TX FIFO to become empty causes a STOP condition to be generated on the I2C bus. If the transmit FIFO threshold is set too high, an erroneous STOP condition can be generated on long transfers - particularly where the interrupt latency is extended. Signed-off-by: Andrew Jackson Signed-off-by: Liviu Dudau Tested-by: Mika Westerberg Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed