]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: spi: Add check for clk_enable()
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Mon, 28 Feb 2022 02:28:39 +0000 (10:28 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Feb 2022 16:00:10 +0000 (17:00 +0100)
commit3130b8c139b9a5f9c9bb61bf90af8614335c7ae9
tree0aec0e1980d3cbc10132f26a243357c6062d72ad
parentbccd6bc5870583063b7e701ec8735c5d5d2f1c91
ALSA: spi: Add check for clk_enable()

As the potential failure of the clk_enable(),
it should be better to check it and return error
if fails.

Fixes: abc7078100cf ("ALSA: at73c213: manage SSC clock")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220228022839.3547266-1-jiasheng@iscas.ac.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/spi/at73c213.c