pm_runtime_get_sync() increments the runtime PM usage counter even the
call returns an error code. Thus a pairing decrement is needed on the
error handling path to keep the counter balanced.
Signed-off-by: Junjie Mao
---
sound/soc/intel/atom/sst/sst_drv_interface.c | 9 +++--
1 file
pm_runtime_get_sync() increments the runtime PM usage counter even the
call returns an error code. Thus a pairing decrement is needed on the
error handling path to keep the counter balanced.
Signed-off-by: Junjie Mao junjie@enight.me
---
sound/soc/intel/atom/sst/sst_drv_interface.c | 9
2 matches
Mail list logo