diff options
| author | Liang He <[email protected]> | 2023-01-05 06:10:55 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-02-22 08:25:53 +0000 |
| commit | 4414a7ab80cebf715045e3c4d465feefbad21139 (patch) | |
| tree | 88ff216954157ff756b2f2d77fc7133d8fe42bca /drivers/fpga/fpga-bridge.c | |
| parent | mfd: syscon: Allow reset control for syscon devices (diff) | |
| download | kernel-4414a7ab80cebf715045e3c4d465feefbad21139.tar.gz kernel-4414a7ab80cebf715045e3c4d465feefbad21139.zip | |
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
