summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2017-08-01 13:43:57 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-10 01:33:01 +0200
commit66ed4cac669cae8870b13511492ff1d41f49179a (patch)
tree01d6ff58cc97d1e04f1420f5d1e100a31b522c41 /drivers/mailbox
parentaae4e7a8bc44722fe70d58920a36916b1043195e (diff)
downloadlinux-stable-66ed4cac669cae8870b13511492ff1d41f49179a.tar.gz
linux-stable-66ed4cac669cae8870b13511492ff1d41f49179a.tar.bz2
linux-stable-66ed4cac669cae8870b13511492ff1d41f49179a.zip
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: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Alexey Klimov <alexey.klimov@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/pcc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index cbca5e51b975..9b7005e1345e 100644
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -457,10 +457,8 @@ static int __init acpi_pcc_probe(void)
/* Search for PCCT */
status = acpi_get_table(ACPI_SIG_PCCT, 0, &pcct_tbl);
- if (ACPI_FAILURE(status) || !pcct_tbl) {
- pr_warn("PCCT header not found.\n");
+ if (ACPI_FAILURE(status) || !pcct_tbl)
return -ENODEV;
- }
count = acpi_table_parse_entries(ACPI_SIG_PCCT,
sizeof(struct acpi_table_pcct),