]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bytcr_rt5640: Update quirk for Acer Switch 10 SW5-012 2-in-1
authorHans de Goede <hdegoede@redhat.com>
Tue, 19 Nov 2019 14:51:38 +0000 (15:51 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 19 Nov 2019 18:21:30 +0000 (18:21 +0000)
commit4c28a5eedc15c792da0ea31bcbf3551a857c2422
tree8f35644b9e22d7d77170bdef4aeeaeb6541d1218
parente208f012a4304ee4811bd1892818df71acd8ad52
ASoC: Intel: bytcr_rt5640: Update quirk for Acer Switch 10 SW5-012 2-in-1

When the Acer Switch 10 SW5-012 quirk was added we did not have
jack-detection support yet; and the builtin microphone selection of
the original quirk is wrong too.

Fix the microphone-input quirk and add jack-detection info so that the
internal-microphone and headphone/set jack on the Switch 10 work properly.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191119145138.59162-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c