diff options
Diffstat (limited to 'sound/pci/hda/hda_eld.c')
-rw-r--r-- | sound/pci/hda/hda_eld.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_eld.c b/sound/pci/hda/hda_eld.c index 20fa6aee29c0..de50cfcf644e 100644 --- a/sound/pci/hda/hda_eld.c +++ b/sound/pci/hda/hda_eld.c | |||
@@ -477,6 +477,8 @@ static void hdmi_print_eld_info(struct snd_info_entry *entry, | |||
477 | [4 ... 7] = "reserved" | 477 | [4 ... 7] = "reserved" |
478 | }; | 478 | }; |
479 | 479 | ||
480 | snd_iprintf(buffer, "monitor_present\t\t%d\n", e->monitor_present); | ||
481 | snd_iprintf(buffer, "eld_valid\t\t%d\n", e->eld_valid); | ||
480 | snd_iprintf(buffer, "monitor_name\t\t%s\n", e->monitor_name); | 482 | snd_iprintf(buffer, "monitor_name\t\t%s\n", e->monitor_name); |
481 | snd_iprintf(buffer, "connection_type\t\t%s\n", | 483 | snd_iprintf(buffer, "connection_type\t\t%s\n", |
482 | eld_connection_type_names[e->conn_type]); | 484 | eld_connection_type_names[e->conn_type]); |
@@ -518,7 +520,11 @@ static void hdmi_write_eld_info(struct snd_info_entry *entry, | |||
518 | * monitor_name manufacture_id product_id | 520 | * monitor_name manufacture_id product_id |
519 | * eld_version edid_version | 521 | * eld_version edid_version |
520 | */ | 522 | */ |
521 | if (!strcmp(name, "connection_type")) | 523 | if (!strcmp(name, "monitor_present")) |
524 | e->monitor_present = val; | ||
525 | else if (!strcmp(name, "eld_valid")) | ||
526 | e->eld_valid = val; | ||
527 | else if (!strcmp(name, "connection_type")) | ||
522 | e->conn_type = val; | 528 | e->conn_type = val; |
523 | else if (!strcmp(name, "port_id")) | 529 | else if (!strcmp(name, "port_id")) |
524 | e->port_id = val; | 530 | e->port_id = val; |