]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology/pcm.c: remove duplicated AC97 hw format
authorChao Song <chao.song@linux.intel.com>
Wed, 26 May 2021 06:00:21 +0000 (14:00 +0800)
committerJaroslav Kysela <perex@perex.cz>
Wed, 26 May 2021 08:19:15 +0000 (10:19 +0200)
Remove the second occurrence of AC97 hardware format
from audio hardware format array.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/topology/pcm.c

index a473b59b4c5cc06c538d98f21d574db5f4e4b633..76085d05a36d3328abb67c9ca0d3f14d5ee9b4af 100644 (file)
@@ -1366,10 +1366,6 @@ static struct audio_hw_format audio_hw_formats[] = {
                .type = SND_SOC_DAI_FORMAT_AC97,
                .name = "AC97",
        },
-       {
-               .type = SND_SOC_DAI_FORMAT_AC97,
-               .name = "AC97",
-       },
        {
                .type = SND_SOC_DAI_FORMAT_PDM,
                .name = "PDM",