diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2007-09-17 09:39:10 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 16:50:32 +0200 |
commit | 35add1c295c634fdbb1072189286e4eab3fd64fa (patch) | |
tree | b4a5b57b604b3cfc8cf52b83377d50e39d35e980 /sound/pci/cmipci.c | |
parent | 22a22f5aacdbb73ca605d34df76201a2df0fe8ac (diff) | |
download | linux-35add1c295c634fdbb1072189286e4eab3fd64fa.tar.bz2 |
[ALSA] cmipci: remove 5.0 format
Disallow playback of five channels because the hardware does not support
it (or nobody knows how to do it).
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r-- | sound/pci/cmipci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 51ba704d4bc9..c51ea0ef26f9 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c @@ -718,19 +718,19 @@ static int snd_cmipci_hw_free(struct snd_pcm_substream *substream) /* */ -static unsigned int hw_channels[] = {1, 2, 4, 5, 6, 8}; +static unsigned int hw_channels[] = {1, 2, 4, 6, 8}; static struct snd_pcm_hw_constraint_list hw_constraints_channels_4 = { .count = 3, .list = hw_channels, .mask = 0, }; static struct snd_pcm_hw_constraint_list hw_constraints_channels_6 = { - .count = 5, + .count = 4, .list = hw_channels, .mask = 0, }; static struct snd_pcm_hw_constraint_list hw_constraints_channels_8 = { - .count = 6, + .count = 5, .list = hw_channels, .mask = 0, }; |