git: 51b2d043692c - stable/13 - hkbd: Fix typo which disables keyboard input in kdb
Vladimir Kondratyev
wulf at FreeBSD.org
Fri Apr 30 20:16:13 UTC 2021
The branch stable/13 has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=51b2d043692cf64a23e6babc6a449a091ccd9d4d
commit 51b2d043692cf64a23e6babc6a449a091ccd9d4d
Author: Vladimir Kondratyev <wulf at FreeBSD.org>
AuthorDate: 2021-04-24 18:49:27 +0000
Commit: Vladimir Kondratyev <wulf at FreeBSD.org>
CommitDate: 2021-04-30 20:14:52 +0000
hkbd: Fix typo which disables keyboard input in kdb
Reported by: Greg V
---
sys/dev/hid/hkbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/hid/hkbd.c b/sys/dev/hid/hkbd.c
index 775ad677f4de..55eba6d321ea 100644
--- a/sys/dev/hid/hkbd.c
+++ b/sys/dev/hid/hkbd.c
@@ -917,7 +917,7 @@ hkbd_attach(device_t dev)
/* interrupt handler will be called with hkbd mutex taken */
hidbus_set_lock(dev, &sc->sc_mtx);
/* interrupt handler can be called during panic */
- hidbus_set_flags(dev, hidbus_get_flags(dev) & HIDBUS_FLAG_CAN_POLL);
+ hidbus_set_flags(dev, hidbus_get_flags(dev) | HIDBUS_FLAG_CAN_POLL);
/* setup default keyboard maps */
More information about the dev-commits-src-all
mailing list