Commit 39fa5800 authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Dmitry Torokhov

Input: Add a missing KERN_INFO message designation, fix behavior

       when only a keyboard part of the controller is detected.
Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 668d1e60
...@@ -227,7 +227,7 @@ static int i8042_pnp_init(void) ...@@ -227,7 +227,7 @@ static int i8042_pnp_init(void)
int result_kbd, result_aux; int result_kbd, result_aux;
if (i8042_nopnp) { if (i8042_nopnp) {
printk("i8042: PNP detection disabled\n"); printk(KERN_INFO "i8042: PNP detection disabled\n");
return 0; return 0;
} }
...@@ -265,7 +265,7 @@ static int i8042_pnp_init(void) ...@@ -265,7 +265,7 @@ static int i8042_pnp_init(void)
i8042_pnp_kbd_irq = i8042_kbd_irq; i8042_pnp_kbd_irq = i8042_kbd_irq;
} }
if (result_aux > 0 && !i8042_pnp_aux_irq) { if (!i8042_pnp_aux_irq) {
printk(KERN_WARNING "PNP: PS/2 controller doesn't have AUX irq; using default %#x\n", i8042_aux_irq); printk(KERN_WARNING "PNP: PS/2 controller doesn't have AUX irq; using default %#x\n", i8042_aux_irq);
i8042_pnp_aux_irq = i8042_aux_irq; i8042_pnp_aux_irq = i8042_aux_irq;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment