diff options
author | Liu Xiang <liu.xiang6@zte.com.cn> | 2016-01-09 17:10:39 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2016-01-14 03:03:18 +0300 |
commit | 265b60497a57da56a4be7d5c72983ae89dc0765e (patch) | |
tree | 49ff9ab4fb33c36984294de11c5af3dd16790e79 /arch/xtensa/variants/dc233c/include | |
parent | 6b9140f39c2aaf76791197fbab0839c0e4af56e8 (diff) | |
download | linux-265b60497a57da56a4be7d5c72983ae89dc0765e.tar.xz |
power: bq27xxx_battery: Fix bq27541 AveragePower register address
Currently in bq27541 driver, the average power register address is
incorrectly set to 0x76, which would result in an error:
bq27xxx-battery 2-0055: error reading average power register 10: -11
According to the bq27541 datasheet, fix this problem by setting
the average power register address to 0x24.
Fixes: d74534c27775 ("power: bq27xxx_battery: Add support for additional bq27xxx family devices")
Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'arch/xtensa/variants/dc233c/include')
0 files changed, 0 insertions, 0 deletions