]> Pileus Git - ~andy/linux/commitdiff
ALSA: Remove invalid GENERIC_MIX PCM sublass
authorTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2009 12:20:48 +0000 (14:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2009 12:23:05 +0000 (14:23 +0200)
SNDRV_PCM_SUBCLASS_GENERIC_MIX is mostly for h/w multi-stream playback
devices, but ca0106 and emu10k1x don't support it (unlike emu10k1).
We shouldn't set that flag to avoid confusion.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ca0106/ca0106_main.c
sound/pci/emu10k1/emu10k1x.c

index bfac30f7929f3094b0f95c343f2659cd0381a4a0..57b992a5c05724c6b67e18668464e592d8b82660 100644 (file)
@@ -1319,7 +1319,6 @@ static int __devinit snd_ca0106_pcm(struct snd_ca0106 *emu, int device)
         }
 
        pcm->info_flags = 0;
-       pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
        strcpy(pcm->name, "CA0106");
 
        for(substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; 
index 1970f0e70f37ddcb7a19efaa00e912ae94f2521b..4d3ad793e98fb1618048ebf84d47374695604558 100644 (file)
@@ -858,7 +858,6 @@ static int __devinit snd_emu10k1x_pcm(struct emu10k1x *emu, int device, struct s
        }
 
        pcm->info_flags = 0;
-       pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX;
        switch(device) {
        case 0:
                strcpy(pcm->name, "EMU10K1X Front");