aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-pxa/raumfeld.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c
index a762b23ac830..6dc4f025e674 100644
--- a/arch/arm/mach-pxa/raumfeld.c
+++ b/arch/arm/mach-pxa/raumfeld.c
@@ -758,8 +758,10 @@ static void raumfeld_power_signal_charged(void)
758 struct power_supply *psy = 758 struct power_supply *psy =
759 power_supply_get_by_name(raumfeld_power_supplicants[0]); 759 power_supply_get_by_name(raumfeld_power_supplicants[0]);
760 760
761 if (psy) 761 if (psy) {
762 power_supply_set_battery_charged(psy); 762 power_supply_set_battery_charged(psy);
763 power_supply_put(psy);
764 }
763} 765}
764 766
765static int raumfeld_power_resume(void) 767static int raumfeld_power_resume(void)