From: Clemens Ladisch Date: Mon, 3 Sep 2007 07:54:27 +0000 (+0200) Subject: [ALSA] cmipci: remove invalid channels constraint X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f19a82a119b41d4607b63e6fd0412498a87d30bc;p=linux-beck.git [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 Signed-off-by: Jaroslav Kysela --- 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) if ((err = open_device_check(cm, CM_OPEN_PLAYBACK, substream)) < 0) return err; runtime->hw = snd_cmipci_playback; - runtime->hw.channels_max = cm->max_channels; snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_SIZE, 0, 0x10000); cm->dig_pcm_status = cm->dig_status; return 0;