summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0102-i8042-decrease-debug-message-level-to-info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/boot_time_opt/0102-i8042-decrease-debug-message-level-to-info.patch')
-rw-r--r--patches/boot_time_opt/0102-i8042-decrease-debug-message-level-to-info.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0102-i8042-decrease-debug-message-level-to-info.patch b/patches/boot_time_opt/0102-i8042-decrease-debug-message-level-to-info.patch
new file mode 100644
index 0000000..96fd92b
--- /dev/null
+++ b/patches/boot_time_opt/0102-i8042-decrease-debug-message-level-to-info.patch
@@ -0,0 +1,65 @@
1From 7e847b13b753ec632fef2f1ffa0d8f5b444c967b Mon Sep 17 00:00:00 2001
2From: Arjan van de Ven <arjan@linux.intel.com>
3Date: Tue, 23 Jun 2015 01:26:52 -0500
4Subject: [PATCH 102/124] i8042: decrease debug message level to info
5
6Author: Arjan van de Ven <arjan@linux.intel.com>
7
8Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
9Signed-off-by: Jose Carlos Venegas Munoz <jos.c.venegas.munoz@intel.com>
10---
11 drivers/input/serio/i8042.c | 10 +++++-----
12 1 file changed, 5 insertions(+), 5 deletions(-)
13
14diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
15index 89abfdb539ac..5317c41b049e 100644
16--- a/drivers/input/serio/i8042.c
17+++ b/drivers/input/serio/i8042.c
18@@ -593,7 +593,7 @@ static int i8042_enable_kbd_port(void)
19 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) {
20 i8042_ctr &= ~I8042_CTR_KBDINT;
21 i8042_ctr |= I8042_CTR_KBDDIS;
22- pr_err("Failed to enable KBD port\n");
23+ pr_info("Failed to enable KBD port\n");
24 return -EIO;
25 }
26
27@@ -612,7 +612,7 @@ static int i8042_enable_aux_port(void)
28 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) {
29 i8042_ctr &= ~I8042_CTR_AUXINT;
30 i8042_ctr |= I8042_CTR_AUXDIS;
31- pr_err("Failed to enable AUX port\n");
32+ pr_info("Failed to enable AUX port\n");
33 return -EIO;
34 }
35
36@@ -704,7 +704,7 @@ static int __init i8042_check_mux(void)
37 i8042_ctr &= ~I8042_CTR_AUXINT;
38
39 if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR)) {
40- pr_err("Failed to disable AUX port, can't use MUX\n");
41+ pr_info("Failed to disable AUX port, can't use MUX\n");
42 return -EIO;
43 }
44
45@@ -927,7 +927,7 @@ static int i8042_controller_selftest(void)
46 do {
47
48 if (i8042_command(&param, I8042_CMD_CTL_TEST)) {
49- pr_err("i8042 controller selftest timeout\n");
50+ pr_info("i8042 controller selftest timeout\n");
51 return -ENODEV;
52 }
53
54@@ -949,7 +949,7 @@ static int i8042_controller_selftest(void)
55 pr_info("giving up on controller selftest, continuing anyway...\n");
56 return 0;
57 #else
58- pr_err("i8042 controller selftest failed\n");
59+ pr_info("i8042 controller selftest failed\n");
60 return -EIO;
61 #endif
62 }
63--
642.11.1
65