android_kernel_motorola_sm6375/drivers/power
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olof Johansson a22b41a31e sbs-battery: Probe should try talking to the device
Turns out this driver doesn't actually try talking to the device at
probe time, so if it's incorrectly configured in the device tree or
platform data (or if the battery has been removed from the system),
then probe will succeed and every access will sit there and time out.
The end result is a possibly laggy system that thinks it has a battery
but can never read status, which isn't very useful.

Instead, just read any register (I chose status) at probe, and if that
fails, don't register the device.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
2012-09-20 14:57:52 -07:00
..
avs ARM: OMAP2+: do not allow SmartReflex to be built as a module 2012-06-29 05:54:31 -07:00
ab8500_btemp.c ab8500_btemp: Fix error return code 2012-08-22 18:47:51 -07:00
ab8500_charger.c ab8500_charger: Fix error return code 2012-08-22 18:47:25 -07:00
ab8500_fg.c ab8500_fg: Fix error return code 2012-08-22 18:48:01 -07:00
abx500_chargalg.c
apm_power.c
bq27x00_battery.c bq27x00_battery: Fix error return code 2012-08-22 18:48:13 -07:00
charger-manager.c charger-manager: Use replacement variable to check state of battery 2012-08-22 20:09:08 -07:00
collie_battery.c
da9030_battery.c da9030_battery: Don't use 0 as NULL 2012-08-22 20:00:45 -07:00
da9052-battery.c da9052-battery: Fix da9052_determine_vc_tbl_index's return value 2012-08-22 19:31:42 -07:00
ds2760_battery.c
ds2780_battery.c W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
ds2781_battery.c ds2781_battery: Replace call to kzalloc with devm_kzalloc 2012-08-22 19:47:14 -07:00
ds2782_battery.c
gpio-charger.c gpio-charger: Use cansleep version of gpio_set_value 2012-06-19 20:48:37 -07:00
intel_mid_battery.c
isp1704_charger.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00
jz4740-battery.c
Kconfig power_supply: Remove broken mark for da9052-battery 2012-08-22 19:31:43 -07:00
lp8727_charger.c lp8727_charger: Unregister power supply at error path of lp8727_register_psy 2012-08-22 19:14:09 -07:00
Makefile ARM: OMAP: SmartReflex: Move smartreflex driver to drivers/ 2012-05-31 16:36:30 -07:00
max8903_charger.c
max8925_power.c
max8997_charger.c
max8998_charger.c
max17040_battery.c
max17042_battery.c max17042_battery: Support CHARGE_COUNTER power supply attribute 2012-06-19 16:48:08 -07:00
olpc_battery.c Merge branch 'for-linus-3.6' of git://dev.laptop.org/users/dilinger/linux-olpc 2012-08-02 11:52:39 -07:00
pcf50633-charger.c
pda_power.c pda_power: Fix ac_draw usage before it being set 2012-09-20 14:27:34 -07:00
pmu_battery.c
power_supply.h
power_supply_core.c Merge with upstream to accommodate with thermal changes 2012-07-31 05:16:47 -07:00
power_supply_leds.c
power_supply_sysfs.c power_supply: Add new power supply properties CHARGE_CURRENT/VOLTAGE_MAX 2012-08-22 21:59:15 -07:00
s3c_adc_battery.c
sbs-battery.c sbs-battery: Probe should try talking to the device 2012-09-20 14:57:52 -07:00
smb347-charger.c smb347-charger: Fix battery status reporting logic for charger faults 2012-09-20 14:44:45 -07:00
test_power.c test_power: Add VOLTAGE_NOW and BATTERY_TEMP properties 2012-06-20 22:45:41 -07:00
tosa_battery.c
twl4030_charger.c twl4030_charger: It would be better not to use the 0b-prefix 2012-08-22 19:38:28 -07:00
wm97xx_battery.c wm97xx_battery: Fix error return code 2012-08-22 18:47:40 -07:00
wm831x_backup.c
wm831x_power.c mfd: Convert wm831x to irq_domain 2012-05-20 17:27:07 +02:00
wm8350_power.c
z2_battery.c