Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Liviu Dudau <[email protected]> Tested-by: Mika Westerberg <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
- Loading branch information