]> 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)
commit359c86dd44afd89cd5be79670e79d1ff1d2099b4
tree4700066adcfd73ed0501841e574334cda30d7a74
parentd8b0d235bd902f8a595013e061e74c97619bc94b
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