ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
authorHans de Goede <hdegoede@redhat.com>
Thu, 25 Mar 2021 22:10:54 +0000 (23:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:12:54 +0000 (10:12 +0200)
commiteb28709c07a67825c146636a4013aba775bbc12d
treeb261b5ba902cf8437f4d0506020bccfc9ca1aa74
parent7bd851a6d3696edd7813f8dd88b8c30feb36fe7f
ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet

[ Upstream commit 875c40eadf6ac6644c0f71842a4f30dd9968d281 ]

The Chuwi Hi8 tablet is using an analog mic on IN1 and has its
jack-detect connected to JD2_IN4N, instead of using the default
IN3 for its internal mic and JD1_IN4P for jack-detect.

It also only has 1 speaker.

Add a quirk applying the correct settings for this configuration.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210325221054.22714-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c