Skip to content

HID: lg: fix init of devices when FF is off

Benjamin Tissoires linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2HID: lg: do not return an error when FF is disableddrivers/hid/hid-lg.h drivers/hid/hid-lg4ff.h+5 -50 replies
2/2HID: lg4ff: do not return a value for deinitdrivers/hid/hid-lg4ff.c drivers/hid/hid-lg4ff.h+4 -52 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] HID: lg: fix init of devices when FF is off

Hi,

foreword: this was only compiled tested and would greatly benefit from some testing with real hardware.

This was discovered in RHEL 8. There, we disable most of the FF bits and it appears returning -1 when the bits are disabled just make the device disappear.

Cheers,
Benjamin

Benjamin Tissoires (2):
HID: lg: do not return an error when FF is disabled
HID: lg4ff: do not return a value for deinit

 drivers/hid/hid-lg.h    | 6 +++---
 drivers/hid/hid-lg4ff.c | 5 ++---
 drivers/hid/hid-lg4ff.h | 6 +++---
 3 files changed, 8 insertions(+), 9 deletions(-)
Signature · 1 line
2.26.3