summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-20 14:42:42 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:34:09 +0100
commitd94ddd85b1e044c030d62c62f95ae700776888f8 (patch)
tree4a192119a3d42279f2bdd8ac325d44751bef6228 /sound/pci/hda/hda_codec.c
parent2ce4886abc61193a8b9dfbb8b08e3f8dff463671 (diff)
ALSA: hda - Increase the max depth of widget connections
Old codecs like AD1986A tend to have long paths as they were just made to be the way like AC97. The current max depth 5 can be too short for such devices. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 5689393f8da7..f4a0f9d3fd84 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -591,7 +591,7 @@ int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux,
return i;
if (!recursive)
return -1;
- if (recursive > 5) {
+ if (recursive > 10) {
snd_printd("hda_codec: too deep connection for 0x%x\n", nid);
return -1;
}