[PATCH] ASoC: Intel: fix runtime pm imbalance on error

2015-07-16 Thread Junjie Mao
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

[PATCH] ASoC: Intel: fix runtime pm imbalance on error

2015-07-16 Thread Junjie Mao
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