mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
249d2fc9e5
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> |
||
---|---|---|
.. | ||
bdw-rt5677.c | ||
broadwell.c | ||
bxt_da7219_max98357a.c | ||
bxt_rt298.c | ||
byt-max98090.c | ||
byt-rt5640.c | ||
bytcht_da7213.c | ||
bytcht_es8316.c | ||
bytcht_nocodec.c | ||
bytcr_rt5640.c | ||
bytcr_rt5651.c | ||
cht_bsw_max98090_ti.c | ||
cht_bsw_nau8824.c | ||
cht_bsw_rt5645.c | ||
cht_bsw_rt5672.c | ||
glk_rt5682_max98357a.c | ||
haswell.c | ||
kbl_da7219_max98357a.c | ||
kbl_da7219_max98927.c | ||
kbl_rt5660.c | ||
kbl_rt5663_max98927.c | ||
kbl_rt5663_rt5514_max98927.c | ||
Kconfig | ||
Makefile | ||
skl_hda_dsp_common.c | ||
skl_hda_dsp_common.h | ||
skl_hda_dsp_generic.c | ||
skl_nau88l25_max98357a.c | ||
skl_nau88l25_ssm4567.c | ||
skl_rt286.c |