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>
This commit is contained in:
Richard Fitzgerald 2026-03-10 14:18:16 +00:00 • committed by Mark Brown
commit 7bca3ca55e
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 77 additions and 114 deletions