]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: spacemit: fix incorrect error check for sspa clock
authorGoko Mell <goku.sonxin626@gmail.com>
Wed, 5 Nov 2025 16:03:16 +0000 (00:03 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 7 Nov 2025 19:49:45 +0000 (19:49 +0000)
commite32c402533cc68abe20fcf3246b9ff53e1f96021
tree0264987c7aa0a4ed02c29e084f7e37c7ba515d89
parent6951be397ca8b8b167c9f99b5a11c541148c38cb
ASoC: spacemit: fix incorrect error check for sspa clock

Fix a wrong IS_ERR() check in spacemit_i2s_probe() where `clk` was used
instead of `i2s->sspa_clk`.

Signed-off-by: Goko Mell <goku.sonxin626@gmail.com>
Link: https://patch.msgid.link/20251106-spacemit-i2s-fix-v1-1-ee2cedcdda23@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/spacemit/k1_i2s.c