]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ymfpci - Don't create invalid PCM & mixers when AC97 doesn't support
authorRaymond Yau <superquad.vortex2@gmail.com>
Tue, 17 Jan 2012 03:41:47 +0000 (11:41 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 24 Jan 2012 14:28:05 +0000 (15:28 +0100)
commit5e657e8764c380cc69eaf99cc4a0ac12f23e5c62
tree4700066adcfd73ed0501841e574334cda30d7a74
parent4a58e2f9678501c05fb247eb27de6faf04b9c38a
ALSA: ymfpci - Don't create invalid PCM & mixers when AC97 doesn't support

- check SDAC bit of AC97 primary codec when create "rear" device 3,
  "4ch" device 2 and "4ch Duplication" switch as the card need a four channels
  AC97 codec to support surround40.

Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ymfpci/ymfpci.c
sound/pci/ymfpci/ymfpci_main.c