summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-04-25 04:11:17 +0300
committerAbel Vesa <abel.vesa@nxp.com>2022-05-02 12:35:06 +0300
commitbfd594b3acbd2656edcc7742e1270d09c0de9d4d (patch)
tree4c1f6e85a4215f48dc43956e1b748796405f6545 /scripts/gdb/linux/utils.py
parent39772efd98adecbd5b8c6096d465d2fcbafbde6a (diff)
downloadlinux-bfd594b3acbd2656edcc7742e1270d09c0de9d4d.tar.xz
clk: imx: scu: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
If the device is already in a runtime PM enabled state pm_runtime_get_sync() will return 1. Also, we need to call pm_runtime_put_noidle() when pm_runtime_get_sync() fails, so use pm_runtime_resume_and_get() instead. this function will handle this. Fixes: 78edeb080330 ("clk: imx: scu: add runtime pm support") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Abel Vesa <abel.vesa@nxp.com> Link: https://lore.kernel.org/r/20220425011117.25093-1-linmq006@gmail.com Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions