Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: atkbd - do not reset keyboard by default on Loongson

The keyboard is properly initialized by the firmware on Loongson
platform, so full reset of the keyboard is not needed. Switch the
default to avoid performing full reset of the keyboard.

Signed-off-by: Qunqin Zhao <zhaoqunqin@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/r/20250401094154.11527-1-zhaoqunqin@loongson.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Qunqin Zhao and committed by
Dmitry Torokhov
21597378 0d5c604b

+1 -1
+1 -1
drivers/input/keyboard/atkbd.c
··· 37 37 module_param_named(set, atkbd_set, int, 0); 38 38 MODULE_PARM_DESC(set, "Select keyboard code set (2 = default, 3 = PS/2 native)"); 39 39 40 - #if defined(__i386__) || defined(__x86_64__) || defined(__hppa__) 40 + #if defined(__i386__) || defined(__x86_64__) || defined(__hppa__) || defined(__loongarch__) 41 41 static bool atkbd_reset; 42 42 #else 43 43 static bool atkbd_reset = true;