ALSA: emu10k1: skip mic capture PCM for cards without AC97 codec
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Sun, 14 May 2023 17:03:21 +0000 (19:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 May 2023 20:06:20 +0000 (22:06 +0200)
commitde0dc31070a54d146bb5e7e5a739c9588034165c
tree1f56588d2bbad9526f72f1c8c8ad2575151f37bd
parent6175ccd1a98136203bf88279cebcc6514ec15bdd
ALSA: emu10k1: skip mic capture PCM for cards without AC97 codec

The microphone capture device is a feature of the AC97 codec, so its
availability should be coupled to the presence of that codec.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230514170323.3408834-6-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1.c
sound/pci/emu10k1/emufx.c