diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-04-09 14:40:55 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-04-27 14:12:43 +0200 |
commit | 2a010461207cc96bee5ab81748325dec1972976f (patch) | |
tree | 38897ae6564a043fbbb255018ef303032b62e96d /lib/hweight.c | |
parent | da33aa03fa34c918faf2c371ebda0dd961d7ccb2 (diff) | |
download | linux-2a010461207cc96bee5ab81748325dec1972976f.tar.bz2 |
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>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions