diff options
author | Hans de Goede | 2018-05-18 21:35:06 +0200 |
---|---|---|
committer | Mark Brown | 2018-05-31 12:28:57 +0200 |
commit | 64484ccee7af53f08cca2ee3853cb8e18914d8b2 (patch) | |
tree | a2c325b74fa8765bb154af3b833c009986f0fe6a /security | |
parent | ASoC: mt6797-mt6351: add hostless phone call path (diff) | |
download | kernel-qcow2-linux-64484ccee7af53f08cca2ee3853cb8e18914d8b2.tar.gz kernel-qcow2-linux-64484ccee7af53f08cca2ee3853cb8e18914d8b2.tar.xz kernel-qcow2-linux-64484ccee7af53f08cca2ee3853cb8e18914d8b2.zip |
ASoC: Intel: bytcr_rt5651: Set card long_name based on quirks
Many X86 devices using a BYT SoC + RT5651 codec are cheap devices with
generic DMI strings, causing snd_soc_set_dmi_name() to fail to set a
long_name, making it impossible for userspace to have a correct UCM
profile which knowns which input is connected to the internal mic,
which input is connected to the hsmic (for correct jack-based switching)
and which inputs are unused.
Our quirks already specify which inputs the internal and headset mic
are connected to.
This commit sets a long_name based on the quirks so that userspace can
have UCM profiles doing the right thing based on the long_name.
Note that if we ever encounter the need for a special UCM profile for
some device we can add a quirk to set a specific long_name for the
device,
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions