commit | 2a010461207cc96bee5ab81748325dec1972976f | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Mon Apr 09 14:40:55 2018 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Apr 27 14:12:43 2018 +0200 |
tree | 38897ae6564a043fbbb255018ef303032b62e96d | |
parent | da33aa03fa34c918faf2c371ebda0dd961d7ccb2 [diff] |
i2c: sprd: Fix the i2c count issue We found the I2C controller count register is unreliable sometimes, that will cause I2C to lose data. Thus we can read the data count from 'i2c_dev->count' instead of the I2C controller count register. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>