linux/drivers/power
Liu Xiang 265b60497a 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: d74534c277 ("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>
2016-01-14 01:03:18 +01:00
..
avs PM / AVS: rockchip-io: Fix module autoload for OF platform driver 2015-10-14 02:38:53 +02:00
reset power/reset: at91-reset: add missing of_node_put 2015-12-05 02:06:49 +01:00
88pm860x_battery.c 88pm860x_battery: Convert to using managed resources 2015-09-22 13:35:31 +02:00
88pm860x_charger.c
ab8500_bmdata.c
ab8500_btemp.c
ab8500_charger.c
ab8500_fg.c
abx500_chargalg.c
apm_power.c
axp20x_usb_power.c power: Add an axp20x-usb-power driver 2015-09-22 13:35:28 +02:00
axp288_charger.c
axp288_fuel_gauge.c
bq27xxx_battery_i2c.c power: bq27xxx_battery: Reorganize I2C into a module 2015-12-05 02:06:51 +01:00
bq27xxx_battery.c power: bq27xxx_battery: Fix bq27541 AveragePower register address 2016-01-14 01:03:18 +01:00
bq2415x_charger.c power: bq2415x_charger: Delete unnecessary checks before the function call "of_node_put" 2015-12-05 02:04:03 +01:00
bq24190_charger.c power: Remove unnecessary MODULE_ALIAS() for I2C drivers 2015-09-22 13:35:30 +02:00
bq24257_charger.c power: bq24257: Add various device-specific sysfs properties 2015-09-29 16:55:03 +02:00
bq24735-charger.c power_supply: bq24735: Convert to using managed resources 2015-07-27 16:09:53 +02:00
bq25890_charger.c
charger-manager.c power_supply: charger-manager: add missing of_node_put 2015-10-15 10:55:44 +02:00
collie_battery.c
da9030_battery.c
da9052-battery.c
da9150-charger.c
da9150-fg.c power: Add support for DA9150 Fuel-Gauge 2015-10-13 11:28:07 +01:00
ds2760_battery.c
ds2780_battery.c power: ds2780_battery: clean up eeprom read/write functions 2015-07-27 16:28:54 +02:00
ds2781_battery.c power: ds2781_battery: clean up eeprom read/write functions 2015-07-27 16:28:54 +02:00
ds2782_battery.c power: ds2782_battery: constify ds278x_battery_ops structure 2015-12-05 02:06:49 +01:00
generic-adc-battery.c power: generic-adc-battery: use to_delayed_work 2016-01-07 16:38:31 +01:00
goldfish_battery.c
gpio-charger.c
intel_mid_battery.c
ipaq_micro_battery.c
isp1704_charger.c power: isp1704_charger: Fix isp1704_write() definition 2016-01-07 16:38:30 +01:00
jz4740-battery.c
Kconfig power: Fix unmet dependency on POWER_SUPPLY by POWER_RESET by uncoupling them 2015-12-08 04:26:05 +01:00
lp8727_charger.c power:lp8727_charger: parsing child node after getting debounce-ms 2015-09-22 13:35:29 +02:00
lp8788-charger.c
ltc2941-battery-gauge.c power/ltc2941-battery-gauge.c: Use the devicetree node name as supply name 2015-07-24 16:52:24 +02:00
Makefile power: bq27xxx_battery: Reorganize I2C into a module 2015-12-05 02:06:51 +01:00
max8903_charger.c power: max8903_charger: set IRQF_ONESHOT if no primary handler is specified 2015-12-05 02:06:50 +01:00
max8925_power.c
max8997_charger.c
max8998_charger.c power_supply: max8998: Use devm_power_supply_register 2015-09-22 16:20:10 +02:00
max14577_charger.c
max17040_battery.c
max17042_battery.c power: max17042_battery: Convert to using managed resources 2015-09-22 16:01:34 +02:00
max77693_charger.c
olpc_battery.c power: olpc_battery: clean up eeprom read function 2015-07-27 16:28:54 +02:00
pcf50633-charger.c
pda_power.c
pm2301_charger.c power: Remove unnecessary MODULE_ALIAS() for I2C drivers 2015-09-22 13:35:30 +02:00
pm2301_charger.h
pmu_battery.c
power_supply_core.c thermal: consistently use int for temperatures 2015-08-03 23:15:50 +08:00
power_supply_leds.c
power_supply_sysfs.c
power_supply.h
qcom_smbb.c power: qcom_smbb: test the correct variable 2015-09-24 22:35:24 +02:00
rt5033_battery.c power: Export I2C module alias information in missing drivers 2015-08-05 05:39:08 +02:00
rt9455_charger.c power: Remove unnecessary MODULE_ALIAS() for I2C drivers 2015-09-22 13:35:30 +02:00
rx51_battery.c rx51-battery: Set name to rx51-battery 2015-08-03 17:14:57 +02:00
s3c_adc_battery.c
sbs-battery.c
smb347-charger.c power: Remove unnecessary MODULE_ALIAS() for I2C drivers 2015-09-22 13:35:30 +02:00
test_power.c power: test_power: correctly handle empty writes 2016-01-07 18:39:34 +01:00
tosa_battery.c
tps65090-charger.c tps65090-charger: Fix module autoload for OF platform driver 2015-09-22 16:03:37 +02:00
tps65217_charger.c power_supply: Add support for tps65217-charger. 2015-09-24 22:43:13 +02:00
twl4030_charger.c drivers: power: twl4030_charger: fix link problems when building as module 2015-09-26 19:10:09 +02:00
twl4030_madc_battery.c
wm97xx_battery.c
wm831x_backup.c
wm831x_power.c wm831x_power: Use IRQF_ONESHOT to request threaded IRQs 2015-09-26 18:55:09 +02:00
wm8350_power.c
z2_battery.c