diff options
| author | Marco Giunta <marco_giunta@outlook.it> | 2026-10-18 19:43:56 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-19 20:00:53 +0200 |
| commit | fc49516fbffd0cbbf2afded6743f81342f2a0cfd (patch) | |
| tree | 50c55ceb8b2a143e413e1367a17d26f434858e8f /include | |
| parent | 31fd009c28b1df5f9ecdef5283ce497e701aef80 (diff) | |
| download | linux-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.h | 2 |
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); |
