]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: Check for error clk pointer
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Wed, 22 Dec 2021 01:51:57 +0000 (09:51 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 24 Dec 2021 14:06:57 +0000 (14:06 +0000)
commit57d773a5afa38c1204bac21cb844ba3833dbd516
tree681a3d35fdae555c3b8a89e20d57f31b391d983b
parentadee9db8bbd465b6bd0c8f8914c27ce863860a72
ASoC: mediatek: Check for error clk pointer

Yes, you are right and now the return code depending on the
init_clks().

Fixes: fcd3c9764cfd ("soc: mediatek: Refine scpsys to support multiple platform")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20211222015157.1025853-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soc/mediatek/mtk-scpsys.c