]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: sof_es8336: Add a quirk for Huawei Matebook D15
authorMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 7 Apr 2022 18:49:59 +0000 (20:49 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Apr 2022 19:26:54 +0000 (20:26 +0100)
commit93f94c3e795f27f021d999231029f00838e7635f
treefe3be883560a55177a600dc70af6f08f232ae657
parent9d325f09514aacae830f618736019b50bad0ae0c
ASoC: Intel: sof_es8336: Add a quirk for Huawei Matebook D15

Based on experimental tests, Huawei Matebook D15 actually uses
both gpio0 and gpio1: the first one controls the speaker, while
the other one controls the headphone.

Also, the headset is mapped as MIC1, instead of MIC2.

So, add a quirk for it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/d678aef9fc9a07aced611aa7cb8c9b800c649e5a.1649357263.git.mchehab@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_es8336.c