Skip to content

Commit 2159737

Browse files
Qunqin Zhaodtor
authored andcommitted
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 <[email protected]> Reviewed-by: Huacai Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 0d5c604 commit 2159737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/keyboard/atkbd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static int atkbd_set = 2;
3737
module_param_named(set, atkbd_set, int, 0);
3838
MODULE_PARM_DESC(set, "Select keyboard code set (2 = default, 3 = PS/2 native)");
3939

40-
#if defined(__i386__) || defined(__x86_64__) || defined(__hppa__)
40+
#if defined(__i386__) || defined(__x86_64__) || defined(__hppa__) || defined(__loongarch__)
4141
static bool atkbd_reset;
4242
#else
4343
static bool atkbd_reset = true;

0 commit comments

Comments
 (0)