]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: codecs: rt1320-sdw: Refactor to reduce stack frames
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 24 Jan 2026 10:17:03 +0000 (11:17 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 26 Jan 2026 21:22:48 +0000 (21:22 +0000)
commit233ccfe911aa62c0f9211f2e3297d6a7f870b295
tree8151641dbf6254b6fa8e1dfbe6f19afc8619bd8c
parent3febba217ea73ca86d5e331b8cde98bc6d08fcf5
ASoC: codecs: rt1320-sdw: Refactor to reduce stack frames

Compiler is not happy about used stack frames in a couple of functions:

sound/soc/codecs/rt1320-sdw.c: In function 'rt1320_rae_load':
sound/soc/codecs/rt1320-sdw.c:1570:1: error: the frame size of 1336 bytes is larger than 1280 bytes [-Werror=frame-larger-than=]
sound/soc/codecs/rt1320-sdw.c: In function 'rt1320_dspfw_load_code':
sound/soc/codecs/rt1320-sdw.c:1786:1: error: the frame size of 1520 bytes is larger than 1280 bytes [-Werror=frame-larger-than=]

Refactor the code to fix these.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260124101824.3424793-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1320-sdw.c