ASoC: Intel: avs: Add missing audio amplifier for KBL
authorAlicja Michalska <ahplka19@gmail.com>
Mon, 21 Nov 2022 23:20:40 +0000 (00:20 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2022 18:22:29 +0000 (18:22 +0000)
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@gmail.com>
Signed-off-by: Alicja Michalska <ahplka19@gmail.com>
Link: https://lore.kernel.org/r/Y3wHyJ/EcsLRHGr3@tora
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/board_selection.c

index 01c1a5324b51a4b6f67fb05d26cfcea54b4781a9..02cc1ce8f5f58eda82f04f92798e671b1088d38f 100644 (file)
@@ -143,6 +143,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",