Skip to contentSkip to conversation

Patch "bq24190_charger: Fix PM runtime use for bq24190_battery_set_property" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 17, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

bq24190_charger: Fix PM runtime use for bq24190_battery_set_property

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     bq24190_charger-fix-pm-runtime-use-for-bq24190_battery_set_property.patch

and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 075eb5719d53e8bb4a406ad87e1de99319aa50f0 Mon Sep 17 00:00:00 2001

From: Tony Lindgren <[email protected]>
Date: Mon, 14 Nov 2016 19:38:31 -0800
Subject: bq24190_charger: Fix PM runtime use for bq24190_battery_set_property

From: Tony Lindgren <[email protected]>

commit 075eb5719d53e8bb4a406ad87e1de99319aa50f0 upstream.

There's a typo, it should do pm_runtime_get_sync, not put.

Fixes d7bf353fd0aa3 ("bq24190_charger: Add support for TI BQ24190 Battery Charger")
Cc Mark A. Greer <[email protected]>
---
 drivers/power/supply/bq24190_charger.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/supply/bq24190_charger.c +1 -1
@@ -1141,7 +1141,7 @@ static int bq24190_battery_set_property(
 
 	dev_dbg(bdi->dev, "prop: %d\n", psp);
 
-	pm_runtime_put_sync(bdi->dev);
+	pm_runtime_get_sync(bdi->dev);
 
 	switch (psp) {
 	case POWER_SUPPLY_PROP_ONLINE:

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/bq24190_charger-fix-pm-runtime-use-for-bq24190_battery_set_property.patch queue-4.9/usb-musb-fix-runtime-pm-in-debugfs.patch