diff options
| author | Troy Mitchell <troy.mitchell@linux.spacemit.com> | 2025-10-24 21:11:01 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-10-28 10:17:43 +0000 |
| commit | f034c16a4663eaf3198dc18b201ba50533fb5b81 (patch) | |
| tree | 434229d125c7bfbb3ced01b117218ac41291ceb5 /include | |
| parent | d29479abaded34b2b1dab2e17efe96a65eba3d61 (diff) | |
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.
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: tag. It would be easy to make the argument that the
Link: https://patch.msgid.link/20251024-fix-k1-i2s-dai-mem-v1-1-15f5f1ec294a@linux.spacemit.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
