summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarco Giunta <marco_giunta@outlook.it>2026-10-18 19:43:56 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-19 20:00:53 +0200
commitfc49516fbffd0cbbf2afded6743f81342f2a0cfd (patch)
tree50c55ceb8b2a143e413e1367a17d26f434858e8f /include
parent31fd009c28b1df5f9ecdef5283ce497e701aef80 (diff)
downloadlinux-fc49516fbffd0cbbf2afded6743f81342f2a0cfd.tar.gz
linux-fc49516fbffd0cbbf2afded6743f81342f2a0cfd.zip
ASoC: aw88399: pass firmware name as argument
Pass the ACF firmware filename as an argument to aw88399_request_firmware_file() instead of hardcoding AW88399_ACF_FILE. Both existing callers (ASoC and HDA) pass AW88399_ACF_FILE to preserve current behavior. Also add missing newlines to the log messages of the modified lines. This allows the HDA side codec driver to request per-model firmware files in the next patch. Tested-by: Xia Yun'an <imitoy@imitoy.top> Signed-off-by: Marco Giunta <marco_giunta@outlook.it> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/SN6PR19MB2303DB0BF41797A38EB04CBFFC992@SN6PR19MB2303.namprd19.prod.outlook.com
Diffstat (limited to 'include')
-rw-r--r--include/sound/aw88399.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/aw88399.h b/include/sound/aw88399.h
index 38d9bd6abd8b..d72c491ee866 100644
--- a/include/sound/aw88399.h
+++ b/include/sound/aw88399.h
@@ -617,7 +617,7 @@ void aw88399_dev_set_channel(struct aw88399 *aw88399, int channel);
void aw88399_hw_reset(struct aw88399 *aw88399);
int aw88399_init(struct aw88399 *aw88399, struct i2c_client *i2c, struct regmap *regmap);
extern const struct regmap_config aw88399_remap_config;
-int aw88399_request_firmware_file(struct aw88399 *aw88399);
+int aw88399_request_firmware_file(struct aw88399 *aw88399, const char *fw_name);
void aw88399_start(struct aw88399 *aw88399, bool sync_start);
void aw88399_startup_work(struct work_struct *work);
int aw88399_stop(struct aw_device *aw_dev);