Input: i8042 - add debug output for quirks
Make new quirk table easily debugable with some debug output. With no functional change, evaluation of i8042_reset_quirk and i8042_reset_never_quirk had to be moved for this. Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20220629112725.12922-4-wse@tuxedocomputers.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
ff946268a0
commit
69c0069572
@ -1421,6 +1421,31 @@ static int __init i8042_platform_init(void)
|
||||
|
||||
i8042_check_quirks();
|
||||
|
||||
pr_debug("Active quirks (empty means none):%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
|
||||
i8042_nokbd ? " nokbd" : "",
|
||||
i8042_noaux ? " noaux" : "",
|
||||
i8042_nomux ? " nomux" : "",
|
||||
i8042_unlock ? " unlock" : "",
|
||||
i8042_probe_defer ? "probe_defer" : "",
|
||||
i8042_reset == I8042_RESET_DEFAULT ?
|
||||
"" : i8042_reset == I8042_RESET_ALWAYS ?
|
||||
" reset_always" : " reset_never",
|
||||
i8042_direct ? " direct" : "",
|
||||
i8042_dumbkbd ? " dumbkbd" : "",
|
||||
i8042_noloop ? " noloop" : "",
|
||||
i8042_notimeout ? " notimeout" : "",
|
||||
i8042_kbdreset ? " kbdreset" : "",
|
||||
#ifdef CONFIG_X86
|
||||
i8042_dritek ? " dritek" : "",
|
||||
#else
|
||||
"",
|
||||
#endif
|
||||
#ifdef CONFIG_PNP
|
||||
i8042_nopnp ? " nopnp" : "");
|
||||
#else
|
||||
"");
|
||||
#endif
|
||||
|
||||
retval = i8042_pnp_init();
|
||||
if (retval)
|
||||
return retval;
|
||||
|
Loading…
x
Reference in New Issue
Block a user