diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-05-22 08:43:50 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-05-23 14:58:35 +0200 |
commit | 16b0e3313f53566481c106ace9992e477f8efe9b (patch) | |
tree | 5ec03a62db7836d2fb59813cb0c912751556c378 /patches/boot_time_opt/0102-i8042-decrease-debug-message-level-to-info.patch | |
parent | 28da254d1c5ae012a6e064671aa14850c2a21a25 (diff) | |
download | enea-kernel-cache-16b0e3313f53566481c106ace9992e477f8efe9b.tar.gz |
patches: Boot time optimizations with ClearLinux patches
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
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.patch | 65 |
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 @@ | |||
1 | From 7e847b13b753ec632fef2f1ffa0d8f5b444c967b Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Tue, 23 Jun 2015 01:26:52 -0500 | ||
4 | Subject: [PATCH 102/124] i8042: decrease debug message level to info | ||
5 | |||
6 | Author: Arjan van de Ven <arjan@linux.intel.com> | ||
7 | |||
8 | Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> | ||
9 | Signed-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 | |||
14 | diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c | ||
15 | index 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(¶m, 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 | -- | ||
64 | 2.11.1 | ||
65 | |||