]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
authorMiaoqian Lin <linmq006@gmail.com>
Mon, 7 Mar 2022 08:35:52 +0000 (08:35 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 12:27:57 +0000 (12:27 +0000)
commit018be1c1627c9472cdceaa319d573a87a059903d
tree8db9f87b863a17d7fc11ca501b29145d8c282391
parentb79a14485a3fe6c7e07ffe8a1d2886a284ff8257
ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe

Fix the missing clk_disable_unprepare() before return
from rockchip_i2s_probe() in the error handling case.

Fixes: 9feefd2ca1fb ("ASoC: rockchip-i2s: enable "hclk" for rockchip I2S controller")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220307083553.26009-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c