ASoC: Intel: avs: Verify kcalloc() status when setting constraints
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 30 May 2025 14:10:22 +0000 (16:10 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 2 Jun 2025 11:26:49 +0000 (12:26 +0100)
commit5f342aeee2724d31046172eb5caab8e0e8afd57d
treeb401aa8e422a2255059eafbfb23c322e8ed578d0
parent9e3285be55e6c0829e451b4a341e3059da47ec9d
ASoC: Intel: avs: Verify kcalloc() status when setting constraints

All memory operations shall be checked.

Fixes: f2f847461fb7 ("ASoC: Intel: avs: Constrain path based on BE capabilities")
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250530141025.2942936-7-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/path.c