diff options
author | Liang He <[email protected]> | 2023-01-05 14:10:55 +0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-02-22 08:25:53 +0000 |
commit | 4414a7ab80cebf715045e3c4d465feefbad21139 (patch) | |
tree | 88ff216954157ff756b2f2d77fc7133d8fe42bca /drivers/fpga/fpga-bridge.c | |
parent | 7d1e3bd94828ad9fc86f55253cd6fec8edd65394 (diff) |
mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
In arizona_clk32k_enable(), we should use pm_runtime_resume_and_get()
as pm_runtime_get_sync() will increase the refcnt even when it
returns an error.
Signed-off-by: Liang He <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions