提交 66ed4cac 编写于 作者: P Punit Agrawal 提交者: Rafael J. Wysocki

mailbox: pcc: Drop uninformative output during boot

When booting on an ACPI enabled system that does not provide the
Platform Communications Channel Table (PCCT), the pcc mailbox driver
prints -

[    0.484261] PCCT header not found.

during probe before returning -ENODEV.

This message clutters the bootlog and doesn't provide any useful
information. Drop this message.
Signed-off-by: NPunit Agrawal <punit.agrawal@arm.com>
Acked-by: NAlexey Klimov <alexey.klimov@arm.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 aae4e7a8
...@@ -457,10 +457,8 @@ static int __init acpi_pcc_probe(void) ...@@ -457,10 +457,8 @@ static int __init acpi_pcc_probe(void)
/* Search for PCCT */ /* Search for PCCT */
status = acpi_get_table(ACPI_SIG_PCCT, 0, &pcct_tbl); status = acpi_get_table(ACPI_SIG_PCCT, 0, &pcct_tbl);
if (ACPI_FAILURE(status) || !pcct_tbl) { if (ACPI_FAILURE(status) || !pcct_tbl)
pr_warn("PCCT header not found.\n");
return -ENODEV; return -ENODEV;
}
count = acpi_table_parse_entries(ACPI_SIG_PCCT, count = acpi_table_parse_entries(ACPI_SIG_PCCT,
sizeof(struct acpi_table_pcct), sizeof(struct acpi_table_pcct),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册