diff options
| author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2026-03-26 09:56:18 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-26 11:16:03 +0000 |
| commit | d40a198e2b7821197c5c77b89d0130cc90f400f5 (patch) | |
| tree | af4e045c540c10d82def8f6e3fed4b078564279e /include/linux/tc_act/git@git.tavy.me:linux.git | |
| parent | c6eea4ff846ed342a12cedf3af730a6204a8d97e (diff) | |
ASoC: SOF: ipc4-topology: Allow bytes controls without initial payload
It is unexpected, but allowed to have no initial payload for a bytes
control and the code is prepared to handle this case, but the size check
missed this corner case.
Update the check for minimal size to allow the initial size to be 0.
Cc: stable@vger.kernel.org
Fixes: a653820700b8 ("ASoC: SOF: ipc4-topology: Correct the allocation size for bytes controls")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://patch.msgid.link/20260326075618.1603-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/tc_act/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
