Re: [PATCH] bq24190_charger: Fix PM runtime use for bq24190_battery_set_property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Sebastian Reichel <sre@xxxxxxxxxx> [161123 14:35]:
> Hi,
> 
> On Mon, Nov 14, 2016 at 07:38:31PM -0800, Tony Lindgren wrote:
> > There's a typo, it should do pm_runtime_get_sync, not put.
> > 
> > Cc: Mark A. Greer <mgreer@xxxxxxxxxxxxxxx>
> > Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
> > ---
> >  drivers/power/supply/bq24190_charger.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c
> > --- a/drivers/power/supply/bq24190_charger.c
> > +++ b/drivers/power/supply/bq24190_charger.c
> > @@ -1141,7 +1141,7 @@ static int bq24190_battery_set_property(struct power_supply *psy,
> >  
> >  	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:
> 
> Thanks, queued to power-supply's for-next branch. I added
> 
> Fixes: d7bf353fd0aa3

Thanks!

Tony

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux