diff options
author | Liam Breck <[email protected]> | 2017-04-11 04:59:56 -0700 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2017-04-14 01:41:35 +0200 |
commit | e3ebc381a966f7fb41b13c2823ff96f9d6d7a377 (patch) | |
tree | 47976f7852ecd77117274b1a5b64bbfef3b47b42 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 03add17fe338af82a28b41bda6afeb3b25c0a323 (diff) |
power: supply: bq24190_charger: Uniform pm_runtime_get() failure handling
On pm_runtime_get() failure, always emit an error message.
Prevent unbalanced pm_runtime_get by calling:
pm_runtime_put_noidle() in irq handler
pm_runtime_put_sync() on any probe() failure
Rename probe() out labels instead of renumbering them.
Fixes: 13d6fa8447fa ("power: bq24190_charger: Use PM runtime autosuspend")
Signed-off-by: Liam Breck <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions