aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cmipci.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-09-03 03:54:27 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 09:59:42 -0400
commitf19a82a119b41d4607b63e6fd0412498a87d30bc (patch)
tree6274bc9e7ebfcd6db9f17cf4410dac0091f0564e /sound/pci/cmipci.c
parentc480f79bdca58923e605ff5e4698cfe1779bae70 (diff)
[ALSA] cmipci: remove invalid channels constraint
Remove the constraint that sets the channel limit for the first playback device to that of the second one; the first device supports only stereo. 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c
index 315ba26bbd88..6d3a0abadd75 100644
--- a/sound/pci/cmipci.c
+++ b/sound/pci/cmipci.c
@@ -1514,7 +1514,6 @@ static int snd_cmipci_playback_open(struct snd_pcm_substream *substream)
1514 if ((err = open_device_check(cm, CM_OPEN_PLAYBACK, substream)) < 0) 1514 if ((err = open_device_check(cm, CM_OPEN_PLAYBACK, substream)) < 0)
1515 return err; 1515 return err;
1516 runtime->hw = snd_cmipci_playback; 1516 runtime->hw = snd_cmipci_playback;
1517 runtime->hw.channels_max = cm->max_channels;
1518 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, 0, 0x10000); 1517 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, 0, 0x10000);
1519 cm->dig_pcm_status = cm->dig_status; 1518 cm->dig_pcm_status = cm->dig_status;
1520 return 0; 1519 return 0;