summary refs log tree commit diff
path: root/Documentation/arm64
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-05-18 21:35:06 +0200
committerMark Brown <broonie@kernel.org>2018-05-31 11:28:57 +0100
commit64484ccee7af53f08cca2ee3853cb8e18914d8b2 (patch)
treea2c325b74fa8765bb154af3b833c009986f0fe6a /Documentation/arm64
parent983333c0f6c4c6b4dab1257d14d16c31912d7561 (diff)
downloadlinux-64484ccee7af53f08cca2ee3853cb8e18914d8b2.tar.gz
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 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions