ASoC: ti: Fix runtime PM imbalance in omap2_mcbsp_set_clks_src
authorDinghao Liu <dinghao.liu@zju.edu.cn>
Mon, 25 May 2020 08:58:48 +0000 (16:58 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 26 May 2020 16:20:22 +0000 (17:20 +0100)
commitc553d290577093553098a56c954e516950c35c59
tree1e738d75813c06bd48c0ee08bdcad9c180719fd9
parentedc475bee00b18f6de16ce3e6da8fdec8b476302
ASoC: ti: Fix runtime PM imbalance in omap2_mcbsp_set_clks_src

When clk_set_parent() returns an error code, a pairing
runtime PM usage counter increment is needed to keep the
counter balanced.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200525085848.4227-1-dinghao.liu@zju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/omap-mcbsp.c