[PATCH 0/2] HID: lg: fix init of devices when FF is off
From: Benjamin Tissoires
Date: Tue Sep 28 2021 - 04:39:21 EST
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