[PATCH] ASoC: Intel: avs: Add missing audio amplifier for KBL

Cezary Rojewski cezary.rojewski at intel.com
Tue Nov 22 19:10:50 CET 2022


On 2022-11-22 12:20 AM, Alicja Michalska wrote:
> KBL platform is missing the definition of 'max98357a' audio amplifier.
> This amplifier is used on many KBL Chromebooks, for instance variant
> 'nami' of 'Google/poppy' baseboard.
> 
> Reported-by: CoolStar <coolstarorganization at gmail.com>
> Signed-off-by: Alicja Michalska <ahplka19 at gmail.com>
> 
> diff --git a/sound/soc/intel/avs/board_selection.c b/sound/soc/intel/avs/board_selection.c
> index 87f9c18be238..650faebb33ef 100644
> --- a/sound/soc/intel/avs/board_selection.c
> +++ b/sound/soc/intel/avs/board_selection.c
> @@ -129,6 +129,14 @@ static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] = {
>   		},
>   		.tplg_filename = "max98373-tplg.bin",
>   	},
> +	{
> +		.id = "MX98357A",
> +		.drv_name = "avs_max98357a",
> +		.mach_params = {
> +			.i2s_link_mask = AVS_SSP(0),
> +		},
> +		.tplg_filename = "max98357a-tplg.bin",
> +	},
>   	{
>   		.id = "DLGS7219",
>   		.drv_name = "avs_da7219",
> ---
>   sound/soc/intel/avs/board_selection.c | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/sound/soc/intel/avs/board_selection.c b/sound/soc/intel/avs/board_selection.c
> index 87f9c18be238..650faebb33ef 100644
> --- a/sound/soc/intel/avs/board_selection.c
> +++ b/sound/soc/intel/avs/board_selection.c
> @@ -129,6 +129,14 @@ static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] = {
>   		},
>   		.tplg_filename = "max98373-tplg.bin",
>   	},
> +	{
> +		.id = "MX98357A",
> +		.drv_name = "avs_max98357a",
> +		.mach_params = {
> +			.i2s_link_mask = AVS_SSP(0),
> +		},
> +		.tplg_filename = "max98357a-tplg.bin",
> +	},
>   	{
>   		.id = "DLGS7219",
>   		.drv_name = "avs_da7219",


Any reason why diff is repeated twice? It seems that the first copy of 
diff is part of the commit message.


More information about the Alsa-devel mailing list