diff options
author | Raymond Yau <superquad.vortex2@gmail.com> | 2012-01-13 10:30:08 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-16 12:16:34 +0100 |
commit | 7b32486ca449a20d64fa381262cc5e56893f0ac1 (patch) | |
tree | e4cade4011a76062492344e5d05cc7095eccfa7e /sound/pci/au88x0/au88x0_pcm.c | |
parent | ffe535edb9a9c5b4d5fe03dfa3d89a1495580f1b (diff) | |
download | op-kernel-dev-7b32486ca449a20d64fa381262cc5e56893f0ac1.zip op-kernel-dev-7b32486ca449a20d64fa381262cc5e56893f0ac1.tar.gz |
ALSA: Au88x0 - Support 4 channels playback when AC97 codecs has SDAC bit
- Check SDAC bit of AC97 codec for supporting 4 channels playback.
Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0/au88x0_pcm.c')
-rw-r--r-- | sound/pci/au88x0/au88x0_pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/au88x0/au88x0_pcm.c b/sound/pci/au88x0/au88x0_pcm.c index 0488633..0ef2f97 100644 --- a/sound/pci/au88x0/au88x0_pcm.c +++ b/sound/pci/au88x0/au88x0_pcm.c @@ -168,6 +168,7 @@ static int snd_vortex_pcm_open(struct snd_pcm_substream *substream) runtime->hw = snd_vortex_playback_hw_adb; #ifdef CHIP_AU8830 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && + VORTEX_IS_QUAD(vortex) && VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB) { runtime->hw.channels_max = 4; snd_pcm_hw_constraint_list(runtime, 0, |