]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: Intel: bytcr_rt5651: Add IN2 input mapping
authorHans de Goede <hdegoede@redhat.com>
Wed, 18 Jul 2018 20:55:40 +0000 (22:55 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 19 Jul 2018 15:04:32 +0000 (16:04 +0100)
commitac275ee5aa67abe9b65d66071ee333c6b0905b93
treef44f4396d0020edb9d0ccbc2ea3c021733d8a1ea
parent8627fb257e1673d2c2277494545642921097da86
ASoC: Intel: bytcr_rt5651: Add IN2 input mapping

During the recent cleanup series 3 of the 6 input mappings where removed
from the bytcr_rt5651 machine driver because testing showed that none of
them were used.

However some devices do actually have their internal mic on IN2 (and
only IN2, not IN1 and IN2), this did not show during previous tests
due to a bug in the userspace UCM input device switching code.

This commit re-adds the IN2 mapping for devices with the internal mic.
on IN2 and the headser mic on IN3 and enables this mapping on devices
with their internal mic on IN2.

This commit also changes the default internal mic input to IN2, because
all my 7 test devices have their mic there.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5651.c