Do Not Disturb broke GD D-pad
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/21 patch 1 replyIn review
- v1 posting 1/21 patch 2 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | input: fix generic desktop D-Pad controlsdrivers/ include/ | +18 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Aseda Aboagye | Carlos Llamas |
|---|---|---|
| 1/1 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RESEND 0/1] Do Not Disturb broke GD D-pad
Hi,
We noticed a breakage in the android test: CtsHardwareTestCases_cts_tests android.hardware.input.cts.tests.GameviceGv186Test#testAllMotions
I bisected the issue to:
commit 22d6d060ac77 ("input: Add support for "Do Not Disturb"")
The cause is pretty clear there are 2 separate checks for:
if ((usage->hid & 0xf0) == 0x90)
so the second one which handles the d-pad is getting skipped.
I've combined them both in the following patch which works for me.
Resending with reviewers tagged from previous discussion[1]
Thanks
[1] https://lore.kernel.org/linux-input/[email protected]/
Terry Tritton (1):
input: fix generic desktop D-Pad controls
drivers/hid/hid-input.c | 37 +++++++++++++++++-------------------- include/linux/hid.h | 1 + 2 files changed, 18 insertions(+), 20 deletions(-)
Signature · 1 line
2.39.5