]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dwc-i2s: Handle errors for clk_enable
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Tue, 1 Mar 2022 08:47:42 +0000 (16:47 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2022 13:45:24 +0000 (13:45 +0000)
commit3b653a2b4d11c7e3f7a06857942a6b688f6fb4d9
tree63ba9bb44fe2262f4a10e9d4d128f1ebd84ab6c3
parentb33384fb006ac2fcd903f039c00e34efe9c09d4e
ASoC: dwc-i2s: Handle errors for clk_enable

As the potential failure of the clk_enable(),
it should be better to check it, as same as clk_prepare_enable().

Fixes: 7fee7f2b3ac0 ("ASoC: dwc: Disallow building designware_pcm as a module")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220301084742.3751939-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/dwc-i2s.c