aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorLubomir Rintel <[email protected]>2019-07-19 14:27:13 +0200
committerMark Brown <[email protected]>2019-07-22 13:05:22 +0100
commit1274204542f683e1d8491ebe9cc86284d5a8ebcc (patch)
tree61792d7bf27a69e3173822aa2d87e1e7970d53f8 /scripts/gdb/vmlinux-gdb.py
parent2922d1cc1696200a3e1fd6d82a7798fcd2cadf12 (diff)
spi: pxa2xx: Balance runtime PM enable/disable on error
Don't undo the PM initialization if we error out before we managed to initialize it. The call to pm_runtime_disable() without being preceded by pm_runtime_enable() would disturb the balance of the Force. In practice, this happens if we fail to allocate any of the GPIOS ("cs", "ready") due to -EPROBE_DEFER because we're getting probled before the GPIO driver. Signed-off-by: Lubomir Rintel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions