[alsa-devel] [PATCH 11/35] ASoC: Intel: Merge sst_dsp_device into sst_pdata

Cezary Rojewski cezary.rojewski at intel.com
Sat Aug 24 12:52:35 CEST 2019


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;
> };


More information about the Alsa-devel mailing list