projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 42026f4978c3a490f8743f8242ece182ed54c1e3..8366e02df3cc6232aa289e8a29ec48758248fb7a 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);