[PATCH] Debug for sound hda device.
Stanislav Lisovskiy
stanislav.lisovskiy at intel.com
Tue Mar 26 14:43:10 UTC 2019
Test patch to figure out crashing reason.
Originally from Takashi Iwai.
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
---
sound/hda/hdac_sysfs.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sound/hda/hdac_sysfs.c b/sound/hda/hdac_sysfs.c
index fb2aa344981e..64790c79aacc 100644
--- a/sound/hda/hdac_sysfs.c
+++ b/sound/hda/hdac_sysfs.c
@@ -402,6 +402,11 @@ int hda_widget_sysfs_init(struct hdac_device *codec)
if (codec->widgets)
return 0; /* already created */
+ pr_info("XXX codec %d: num_nodes=%d, start_nid=%d, afg=%d\n",
+ codec->num_nodes, codec->start_nid, codec->afg);
+
+ return 0;
+
err = widget_tree_create(codec);
if (err < 0) {
widget_tree_free(codec);
--
2.17.1
More information about the Intel-gfx-trybot
mailing list