linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] HID: lg: fix init of devices when FF is off
@ 2021-09-28  8:39 Benjamin Tissoires
  2021-09-28  8:39 ` [PATCH 1/2] HID: lg: do not return an error when FF is disabled Benjamin Tissoires
  2021-09-28  8:39 ` [PATCH 2/2] HID: lg4ff: do not return a value for deinit Benjamin Tissoires
  0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Tissoires @ 2021-09-28  8:39 UTC (permalink / raw)
  To: Jiri Kosina, Michal Malý
  Cc: linux-input, linux-kernel, Benjamin Tissoires

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(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-29  8:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-28  8:39 [PATCH 0/2] HID: lg: fix init of devices when FF is off Benjamin Tissoires
2021-09-28  8:39 ` [PATCH 1/2] HID: lg: do not return an error when FF is disabled Benjamin Tissoires
2021-09-28  8:39 ` [PATCH 2/2] HID: lg4ff: do not return a value for deinit Benjamin Tissoires
2021-09-29  7:43   ` Michal Malý
2021-09-29  8:55     ` Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).