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)
committerMark Brown <broonie@kernel.org>
Wed, 31 Mar 2021 12:52:44 +0000 (13:52 +0100)
commit875c40eadf6ac6644c0f71842a4f30dd9968d281
tree152dfe54eaafa40b81d30f71c4850289bd54d2e2
parent8b01a0d0b5c1327296b37a13c37ca7ab31841577
ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet

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>
sound/soc/intel/boards/bytcr_rt5640.c