]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: wm_adsp: Use a struct to pass around firmware struct and filename
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 10 Mar 2026 14:18:16 +0000 (14:18 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2026 14:52:56 +0000 (14:52 +0000)
commit7bca3ca55ef53ca66fdf6e663290d0596a8f520d
tree6c2fc3b97949a4ca562eb9f92b6214b4ae584271
parentd8a4c96082e6f5c7aaf6f3e101effe7ff0ea4d6e
ASoC: wm_adsp: Use a struct to pass around firmware struct and filename

Bundle the pointers to struct firmware and its filename into a new
struct wm_adsp_fw_files. This simplifies passing these pointers around.

Changes are also needed to the test cases in wm_adsp_fw_find_test.c that
use this API.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260310141817.1871794-10-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h
sound/soc/codecs/wm_adsp_fw_find_test.c