From 9f48f49ae38757c0f76447671eb1fe389dbc4051 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 22 Jul 2023 14:56:26 -0300 Subject: [PATCH] AudioPCI: Limit codec selection to actual ES1371 cards --- src/sound/snd_audiopci.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/sound/snd_audiopci.c b/src/sound/snd_audiopci.c index 93e060279..ded3d7450 100644 --- a/src/sound/snd_audiopci.c +++ b/src/sound/snd_audiopci.c @@ -2060,31 +2060,19 @@ static const device_config_t es1371_config[] = { // clang-format off { .name = "codec", - .description = "CODEC", + .description = "Codec", .type = CONFIG_SELECTION, .selection = { { .description = "Asahi Kasei AK4540", .value = AC97_CODEC_AK4540 }, - { - .description = "Crystal CS4297", - .value = AC97_CODEC_CS4297 - }, - { - .description = "Crystal CS4297A", - .value = AC97_CODEC_CS4297A - }, - { - .description = "SigmaTel STAC9721", - .value = AC97_CODEC_STAC9721 - }, { .description = "TriTech TR28023 / Creative CT1297", .value = AC97_CODEC_TR28023 } }, - .default_int = AC97_CODEC_CS4297A + .default_int = AC97_CODEC_TR28023 }, { .name = "receive_input",