]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ASoC: SOF: Intel: hda: modify period size constraints for ACE4
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Wed, 8 Apr 2026 08:45:14 +0000 (11:45 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 8 Apr 2026 12:15:40 +0000 (13:15 +0100)
commit0f71866057262d669ed6a21246eaac0ad6d04d4e
treeeff0150885969019676e4cf70af4b9c11aa86ff2
parentf4c90fb761f696ebbcf1e8fb7f83d83cbb30cb0c
ASoC: SOF: Intel: hda: modify period size constraints for ACE4

Intel ACE4 based products set more strict constraints on HDA BDLE start
address and length alignment. Add a constraint to align period size to
128 bytes.

The commit removes the "minimum as per HDA spec" comment. This comment
was misleading as spec actually does allow a 2 byte BDLE length, and
more importantly, period size also directly impacts how the BDLE start
addresses are aligned, so it is not sufficient just to consider allowed
buffer length.

Fixes: d3df422f66e8 ("ASoC: SOF: Intel: add initial support for NVL-S")
Cc: stable@vger.kernel.org
Reported-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://patch.msgid.link/20260408084514.24325-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-pcm.c