projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2126896
)
ALSA: hda - Use common paser for digital I/O for ALC260
author
Takashi Iwai
<tiwai@suse.de>
Thu, 7 Jul 2011 15:05:48 +0000
(17:05 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 7 Jul 2011 16:03:12 +0000
(18:03 +0200)
Avoid open-codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index
42026f4
..
8366e02
100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-7200,8
+7200,8
@@
static int alc260_parse_auto_config(struct hda_codec *codec)
spec->multiout.max_channels = 2;
- if (spec->autocfg.dig_outs)
- spec->multiout.dig_out_nid = ALC260_DIGOUT_NID;
+ alc_auto_parse_digital(codec);
+
if (spec->kctls.list)
add_mixer(spec, spec->kctls.list);