On 2019-08-23 20:54, Pierre-Louis Bossart wrote:
@@ -203,13 +192,15 @@ struct sst_pdata {
/* DSP */
u32 id;
+ const char *fw_name;
+ struct sst_ops *ops;
+ struct snd_soc_acpi_mach *boards;
void *dsp;
};
You already have the fw_name inside of struct snd_soc_acpi_mach:
I'll come back to that later.
See PATCH 27/35 and ULL example.
/* Descriptor for SST ASoC machine driver */
struct snd_soc_acpi_mach {
const u8 id[ACPI_ID_LEN];
const char *drv_name;
const char *fw_filename;
const char *board;
struct snd_soc_acpi_mach * (*machine_quirk)(void *arg);
const void *quirk_data;
void *pdata;
struct snd_soc_acpi_mach_params mach_params;
const char *sof_fw_filename;
const char *sof_tplg_filename;
};
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel