aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_si3054.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-09-07 13:29:22 +0200
committerJaroslav Kysela <perex@suse.cz>2005-09-12 10:42:17 +0200
commitec9e1c5c9c7350cc8214f8b9c529f9678036d9a8 (patch)
treee21fe7f19a95aeaa98069713fabeddf9ad0369f5 /sound/pci/hda/patch_si3054.c
parent[ALSA] Correct detection of iBook G4 1420Mhz soundcard (diff)
downloadlinux-dev-ec9e1c5c9c7350cc8214f8b9c529f9678036d9a8.tar.xz
linux-dev-ec9e1c5c9c7350cc8214f8b9c529f9678036d9a8.zip
[ALSA] hda-codec - Assign audio PCMS first
HDA Codec driver,HDA Intel driver,HDA generic driver Assign audio PCMs first before modem PCMs. The modem stream is assigned up to device #6, to be consistent over different models. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_si3054.c')
-rw-r--r--sound/pci/hda/patch_si3054.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_si3054.c b/sound/pci/hda/patch_si3054.c
index b0270d1b64ce..c41fb9acdce4 100644
--- a/sound/pci/hda/patch_si3054.c
+++ b/sound/pci/hda/patch_si3054.c
@@ -214,6 +214,7 @@ static int si3054_build_pcms(struct hda_codec *codec)
info->name = "Si3054 Modem";
info->stream[SNDRV_PCM_STREAM_PLAYBACK] = si3054_pcm;
info->stream[SNDRV_PCM_STREAM_CAPTURE] = si3054_pcm;
+ info->is_modem = 1;
return 0;
}