[PATCH 2/2] ASoC: fsl_mqs: call pm_runtime_disable() on error path

2023-04-03 Thread Liliang Ye
pm_runtime_disable was missed in cleanup operation, which corresponds to the earlier call to pm_runtime_enable. To fix this, add pm_runtime_disable() on error path. Fixes: 9e28f6532c61 ("ASoC: fsl_mqs: Add MQS component driver") Signed-off-by: Liliang Ye Reviewed-by: Dan Carpenter

[PATCH 1/2] ASoC: fsl_mqs: move of_node_put() to the correct location

2023-04-03 Thread Liliang Ye
uot;ASoC: fsl_mqs: Fix error handling in probe") Signed-off-by: Liliang Ye Reviewed-by: Dan Carpenter --- sound/soc/fsl/fsl_mqs.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c index 4922e6795b73..32d20d351bbf