From 5223c2821783faa97847ec79886661f71b43c1e9 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Sat, 18 Jun 2011 10:58:49 +0200 Subject: [PATCH] --- yaml --- r: 257681 b: refs/heads/master c: 57307bf24ac78d135c066520234c01bda36ec39a h: refs/heads/master i: 257679: ac6f9083aa5da19216094d93ac0c61ecae6af3b5 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_via.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e5290f604008..99be07f1b177 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f4a7828bc1e85b8de03b628da1cef4e862e0623b +refs/heads/master: 57307bf24ac78d135c066520234c01bda36ec39a diff --git a/trunk/sound/pci/hda/patch_via.c b/trunk/sound/pci/hda/patch_via.c index 77ecc778d313..78e679e76ca8 100644 --- a/trunk/sound/pci/hda/patch_via.c +++ b/trunk/sound/pci/hda/patch_via.c @@ -1557,6 +1557,8 @@ static int via_build_pcms(struct hda_codec *codec) *(spec->stream_analog_playback); info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = spec->multiout.dac_nids[0]; + if (!spec->multiout.hp_nid) + info->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams = 1; info->stream[SNDRV_PCM_STREAM_CAPTURE] = *(spec->stream_analog_capture); info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adc_nids[0];