linux-stable/drivers/hid/i2c-hid
Johan Hovold 00aab7dcb2 HID: i2c-hid-of: fix NULL-deref on failed power up
A while back the I2C HID implementation was split in an ACPI and OF
part, but the new OF driver never initialises the client pointer which
is dereferenced on power-up failures.

Fixes: b33752c300 ("HID: i2c-hid: Reorganize so ACPI and OF are separate modules")
Cc: stable@vger.kernel.org      # 5.12
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2024-01-26 18:52:14 +01:00
..
Kconfig HID: i2c-hid: add more DRM dependencies 2023-08-03 07:36:41 -07:00
Makefile HID: i2c-hid: elan: Add support for Elan eKTH6915 i2c-hid touchscreens 2022-06-08 11:46:23 +02:00
i2c-hid-acpi.c HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[] 2023-12-04 16:17:12 +01:00
i2c-hid-core.c HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend 2024-01-23 11:26:06 +01:00
i2c-hid-dmi-quirks.c HID: retain initial quirks set up when creating HID devices 2023-02-09 14:24:30 +01:00
i2c-hid-of-elan.c HID: i2c-hid: elan: Add ili2901 timing 2024-01-02 11:30:55 +01:00
i2c-hid-of-goodix.c Merge branch 'for-6.5/i2c-hid' into for-linus 2023-06-27 22:42:28 +02:00
i2c-hid-of.c HID: i2c-hid-of: fix NULL-deref on failed power up 2024-01-26 18:52:14 +01:00
i2c-hid.h HID: multitouch: Add quirks for flipped axes 2023-01-18 10:08:51 +01:00