Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f19a82a119b41d4607b63e6fd0412498a87d30bc
Commit:     f19a82a119b41d4607b63e6fd0412498a87d30bc
Parent:     c480f79bdca58923e605ff5e4698cfe1779bae70
Author:     Clemens Ladisch <[EMAIL PROTECTED]>
AuthorDate: Mon Sep 3 09:54:27 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 15:59:42 2007 +0200

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/cmipci.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c
index 315ba26..6d3a0ab 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to