mirror-linux/include/linux/firmware
Richard Fitzgerald 7584edf158
firmware: cs_dsp: Store control length as 32-bit
The architectures supported by this driver have a maximum of 32-bits
of address, so we don't need more than 32-bits to store the length of
control data. Change the length in struct cs_dsp_coeff_ctl to an
unsigned int instead of a size_t. Also make a corresponding trivial
change to wm_adsp.c to prevent a compiler warning.

Tested on x86_64 builds this saves at least 4 bytes per control
(another 4 bytes might be saved if the compiler was inserting padding
to align the size_t).

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251124171536.78962-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-11-24 19:15:19 +00:00
..
broadcom
cirrus firmware: cs_dsp: Store control length as 32-bit 2025-11-24 19:15:19 +00:00
imx firmware: imx: Add stub functions for SCMI CPU API 2025-09-11 09:59:08 +08:00
intel
mediatek
meson
qcom firmware: qcom: scm: add support for object invocation 2025-09-15 08:42:53 -05:00
samsung firmware: exynos-acpm: introduce devm_acpm_get_by_node() 2025-04-22 09:50:06 +02:00
thead firmware: thead: Add AON firmware protocol driver 2025-03-13 14:41:32 +01:00
trusted_foundations.h
xlnx-event-manager.h
xlnx-zynqmp.h firmware: xilinx: Don't share zynqmp_pm_init_finalize() 2025-07-09 13:29:29 +02:00