Date: Sat, 24 Apr 2021 19:02:54 GMT From: Vladimir Kondratyev <wulf@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e68d76c054d2 - main - hkbd: Fix typo which disables keyboard input in kdb Message-ID: <202104241902.13OJ2sA2048000@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=e68d76c054d25490195a99a25329ddca1467244b commit e68d76c054d25490195a99a25329ddca1467244b Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2021-04-24 18:49:27 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> 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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104241902.13OJ2sA2048000>