projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64f51c
)
pm2301-charger: Reference put missing after access
author
Rupesh Kumar
<rupesh.kumar@stericsson.com>
Wed, 5 Dec 2012 10:43:31 +0000
(16:13 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Thu, 7 Mar 2013 04:35:57 +0000
(12:35 +0800)
Added missing pm_runtime_put_sync in read & write.
Signed-off-by: Rupesh Kumar <rupesh.kumar@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Sandeep TRIPATHY <sandeep.tripathy@stericsson.com>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
drivers/power/pm2301_charger.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/pm2301_charger.c
b/drivers/power/pm2301_charger.c
index a1fc37eca334e23a57bc78d560852a9ba5415954..618c46d25a3bf5a765f182992845905370868798 100644
(file)
--- a/
drivers/power/pm2301_charger.c
+++ b/
drivers/power/pm2301_charger.c
@@
-139,6
+139,8
@@
static int pm2xxx_reg_read(struct pm2xxx_charger *pm2, int reg, u8 *val)
else
ret = 0;
+ pm_runtime_put_sync(pm2->dev);
+
return ret;
}
@@
-156,6
+158,8
@@
static int pm2xxx_reg_write(struct pm2xxx_charger *pm2, int reg, u8 val)
else
ret = 0;
+ pm_runtime_put_sync(pm2->dev);
+
return ret;
}
This page took
0.02513 seconds
and
5
git commands to generate.