ASoC: Intel: Baytrail: add quirk for Aegex 10 (RU2) tablet
authorKovács Tamás <kepszlok@zohomail.eu>
Fri, 31 May 2019 17:22:26 +0000 (19:22 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 3 Jun 2019 16:39:54 +0000 (17:39 +0100)
commit3e951e7914408aee196db77a5cb377801c85692a
tree5e04fd12ca619cb1e003e180a7c3c71ff650b6aa
parent1f2675f6655838aaf910f911fd0abc821e3ff3df
ASoC: Intel: Baytrail: add quirk for Aegex 10 (RU2) tablet

This tablet has an incorrect acpi identifier just like
Thinkpad10 tablet, which is why it is trying to load the RT5640 driver
instead of the RT5762 driver. The RT5640 driver, on the other hand, checks
the hardware ID, so no driver are loaded during boot. This fix resolves to
load the RT5672 driver on this tablet during boot. It also provides the
correct IO configuration, like the jack detect mode 3, for 1.8V pullup. I
would like to thank Pierre-Louis Bossart for helping with this patch.

Signed-off-by: Kovács Tamás <kepszlok@zohomail.eu>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5670.c
sound/soc/intel/common/soc-acpi-intel-byt-match.c