Message ID | 20221103155756.687789-2-benjamin.tissoires@redhat.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 2afac81dd16544d825f309fd992d2af6304353df |
Delegated to: | Jiri Kosina |
Headers | show |
Series | Introduce eBPF support for HID devices | expand |
On Thu, 3 Nov 2022, Benjamin Tissoires wrote: > When I2C_HID_OF_ELAN is set, we need to turn on I2C_HID_CORE to > ensure we get all the HID requirements. > > Fixes: bd3cba00dcc6 ("HID: i2c-hid: elan: Add support for Elan eKTH6915 i2c-hid touchscreens") > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> > > --- > > new in v12 As this one has in principle nothing to do with the HID-BPF support, and is actually a functional fix, I've cherry-picked this one into hid.git#for-6.1/upstream-fixes. Thanks,
diff --git a/drivers/hid/i2c-hid/Kconfig b/drivers/hid/i2c-hid/Kconfig index 5273ee2bb134..d65abe65ce73 100644 --- a/drivers/hid/i2c-hid/Kconfig +++ b/drivers/hid/i2c-hid/Kconfig @@ -66,6 +66,6 @@ endmenu config I2C_HID_CORE tristate - default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_GOODIX=y - default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_GOODIX=m + default y if I2C_HID_ACPI=y || I2C_HID_OF=y || I2C_HID_OF_ELAN=y || I2C_HID_OF_GOODIX=y + default m if I2C_HID_ACPI=m || I2C_HID_OF=m || I2C_HID_OF_ELAN=m || I2C_HID_OF_GOODIX=m select HID
When I2C_HID_OF_ELAN is set, we need to turn on I2C_HID_CORE to ensure we get all the HID requirements. Fixes: bd3cba00dcc6 ("HID: i2c-hid: elan: Add support for Elan eKTH6915 i2c-hid touchscreens") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> --- new in v12 --- drivers/hid/i2c-hid/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)