diff options
author | Ting Shen <phoenixshen@google.com> | 2021-08-17 17:12:08 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-17 12:06:52 +0000 |
commit | c31a5d73bd2159845930c0f1bd0b9edbe2529624 (patch) | |
tree | fb92a366a4cc41148a95ccf733e275f91bff6d12 /board/bugzzy/cbi_ssfc.h | |
parent | 388f3cb3fb7b1bf04c5c3b77cb7524179b287269 (diff) | |
download | chrome-ec-c31a5d73bd2159845930c0f1bd0b9edbe2529624.tar.gz |
usb_hid_keyboard: fix incorrect sleep/lock key position
The position of SLEEP_KEY_MASK bit is not in its intended
position because TK_* enum is 1-indexed. Fix this bug by
shift the mask by 1.
BUG=b:196934919
TEST=evtest
BRANCH=trogdor
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I900636f032786510f7870948d1856d0bc4374800
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3097478
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/bugzzy/cbi_ssfc.h')
0 files changed, 0 insertions, 0 deletions