Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2021 20:16:12 GMT
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 51b2d043692c - stable/13 - hkbd: Fix typo which disables keyboard input in kdb
Message-ID:  <202104302016.13UKGCOu004514@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by wulf:

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

commit 51b2d043692cf64a23e6babc6a449a091ccd9d4d
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-04-24 18:49:27 +0000
Commit:     Vladimir Kondratyev <wulf@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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104302016.13UKGCOu004514>