The branch main has been updated by wulf:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e68d76c054d25490195a99a25329ddca1467244b

commit e68d76c054d25490195a99a25329ddca1467244b
Author:     Vladimir Kondratyev <[email protected]>
AuthorDate: 2021-04-24 18:49:27 +0000
Commit:     Vladimir Kondratyev <[email protected]>
CommitDate: 2021-04-24 19:01:14 +0000

    hkbd: Fix typo which disables keyboard input in kdb
    
    Reported by:    Greg V
    MFC after:      1 week
---
 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 */
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to