]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39846b5a21a357877ea86ca70af6bd5a0470515e
tree1e738d75813c06bd48c0ee08bdcad9c180719fd9
parentd10cea7dffbcb37b22b6402800e9816c547dbf1b
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