]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ASoC: mxs-saif: Handle errors for clk_enable
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Tue, 1 Mar 2022 08:17:17 +0000 (16:17 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:18:43 +0000 (15:18 +0200)
commitd0d37ca61def8e00c131d38db2d2e55d60ed6765
tree24af88580a7cece8799bb17abf8a0ffa25bb43de
parent93a614a62c29988b1708b1b18fc592c2be5b6a2b
ASoC: mxs-saif: Handle errors for clk_enable

BugLink: https://bugs.launchpad.net/bugs/1971497
[ Upstream commit 2ecf362d220317debf5da376e0390e9f7a3f7b29 ]

As the potential failure of the clk_enable(),
it should be better to check it, like mxs_saif_trigger().

Fixes: d0ba4c014934 ("ASoC: mxs-saif: set a base clock rate for EXTMASTER mode work")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220301081717.3727190-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/soc/mxs/mxs-saif.c