summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-08-16 09:27:10 +1000
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-08-22 13:40:24 +0300
commit9bd5196e5cf7431d0118d86d7d784405663e763e (patch)
treed07ad6b9f16c7cd144ff9c9af565756f02ab4525
parent340fd4cff43f18bace9358d4decdc9b6ed0715be (diff)
downloadlinux-stable-9bd5196e5cf7431d0118d86d7d784405663e763e.tar.gz
linux-stable-9bd5196e5cf7431d0118d86d7d784405663e763e.tar.bz2
linux-stable-9bd5196e5cf7431d0118d86d7d784405663e763e.zip
platform/x86: acer-wmi: Silence "unsupported" message a bit
This driver prints that "Unsupported machine..." message on every boot on ThinkPad X1 Carbon laptops (and I assume a number of other systems), which causes graphical boots to "glitch" a bit and is rather annoying ... Make it a pr_debug instead. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/platform/x86/acer-wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 3294bb2b37fc..fcfeadd1301f 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -2213,7 +2213,7 @@ static int __init acer_wmi_init(void)
if (wmi_has_guid(AMW0_GUID1) &&
!dmi_check_system(amw0_whitelist) &&
quirks == &quirk_unknown) {
- pr_err("Unsupported machine has AMW0_GUID1, unable to load\n");
+ pr_debug("Unsupported machine has AMW0_GUID1, unable to load\n");
return -ENODEV;
}