ASoC: SDCA: Move allocation of PDE delays array
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 16 May 2025 13:10:07 +0000 (14:10 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 20 May 2025 10:15:37 +0000 (11:15 +0100)
commit3849c958eeeb8e340112b983068c5547babc7274
tree96795a5a54df0a2f67759b45847227add58121fc
parent96bd04e738f8154b1d798842e89a4fa8b85d2636
ASoC: SDCA: Move allocation of PDE delays array

Move the allocation of the PDE delays array until after the size has
been adjusted, this saves an additional division and simplifies the
code slightly.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250516131011.221310-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_functions.c