diff options
| author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2025-10-28 04:32:09 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-10-28 13:17:34 +0300 |
| commit | 7a78e387654f20e798ceab5bae9c1f5557416431 (patch) | |
| tree | 434229d125c7bfbb3ced01b117218ac41291ceb5 /include/linux/timerqueue.h | |
| parent | d29479abaded34b2b1dab2e17efe96a65eba3d61 (diff) | |
| download | linux-7a78e387654f20e798ceab5bae9c1f5557416431.tar.xz | |
ASoC: spacemit: add failure check for spacemit_i2s_init_dai()
Add error handling when memory allocation for dai fails in
spacemit_i2s_init_dai() call.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/aPtiNCZ_KBezL2Dr@stanley.mountain/#t
Fixes: fce217449075 ("ASoC: spacemit: add i2s support for K1 SoC")
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Closes: tag. It would be easy to make the argument that the
Link: https://patch.msgid.link/20251028-fix-k1-i2s-v2-1-a547c15ed5c3@linux.spacemit.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
