mirror_ubuntu-kernels/sound/soc/intel
Hans de Goede 249d2fc9e5
ASoC: Intel: bytcht_es8316: Set card long_name based on quirks
Depending on the input-map and on if 1 or 2 speakers are connected,
userspace needs to use a different UCM profile.

Since we already deal with quirks in the kernel driver and set the
input-map from the kernel, add a quirk for devices with a single / mono
speaker and set the card's long_name based on the input and speaker
quirks, so that userspace can use the long_name to pick the right UCM
profile.

This change, including how the long_name is build-up mirrors how we do
this in the bytcr_rt5640 and bytcr_rt5651 machine drivers.

Note since all devices I have access to use a mono speaker setup I've
chosen to default the speaker setting to mono.

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>
2019-01-04 15:15:43 +00:00
..
atom ASoC: Intel: Atom: simplify boolean tests 2019-01-03 16:34:12 +00:00
baytrail ASoC: Intel: Baytrail: simplify boolean test 2019-01-03 16:34:11 +00:00
boards ASoC: Intel: bytcht_es8316: Set card long_name based on quirks 2019-01-04 15:15:43 +00:00
common ASoC: Intel: kbl_rt5660: Add a new machine driver for kbl with rt5660 2018-12-13 14:37:35 +00:00
haswell ASoC: Intel: Haswell: assign booleans to true/false 2019-01-03 16:34:10 +00:00
skylake ASoC: Intel: Skylake: simplify boolean tests 2019-01-03 16:34:08 +00:00
Kconfig ASoC: Intel: atom: Make PCI dependency explicit 2019-01-03 16:33:22 +00:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00