summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-01-03 14:45:34 +0100
committerMark Brown <broonie@kernel.org>2019-01-04 15:15:43 +0000
commit249d2fc9e55c324dda968252ea3ad0ac21c72b8f (patch)
treef1fd520922420d7d16b0ab4f723ef49262a1f5cf /include/linux
parent730501a91d94b652275e049e101ed44cdbfdf31b (diff)
downloadcachepc-linux-249d2fc9e55c324dda968252ea3ad0ac21c72b8f.tar.gz
cachepc-linux-249d2fc9e55c324dda968252ea3ad0ac21c72b8f.zip
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions