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: b33752c30023 ("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
..
2024-01-12 11:32:19 -08:00
2024-01-12 14:00:18 -08:00
2024-01-11 13:49:00 -08:00
2024-01-12 11:32:19 -08:00
2024-01-12 14:29:48 -08:00
2024-01-11 14:19:23 -08:00
2024-01-11 11:31:46 -08:00
2024-01-12 11:32:19 -08:00
2024-01-10 08:45:22 -08:00
2024-01-12 14:38:08 -08:00
2024-01-09 16:32:11 -08:00
2024-01-12 13:52:21 -08:00
2024-01-12 14:29:48 -08:00
2024-01-10 16:43:55 -08:00
2024-01-11 13:58:04 -08:00
2024-01-12 14:29:48 -08:00
2024-01-09 15:02:12 -08:00
2024-01-10 11:03:52 -08:00
2024-01-12 13:57:33 -08:00
2024-01-11 13:58:04 -08:00
2024-01-12 13:52:21 -08:00
2024-01-12 14:00:18 -08:00
2024-01-11 14:19:23 -08:00
2024-01-05 15:55:41 +05:30
2024-01-11 10:07:29 -08:00
2024-01-09 16:12:44 -08:00
2024-01-12 11:32:19 -08:00
2024-01-12 13:35:31 -08:00
2024-01-12 14:45:13 -08:00
2024-01-12 13:54:25 -08:00
2024-01-11 11:31:46 -08:00
2024-01-11 14:24:32 -08:00
2024-01-11 14:24:32 -08:00
2024-01-12 11:32:19 -08:00
2024-01-12 11:55:28 -08:00
2024-01-09 15:02:12 -08:00
2024-01-12 14:29:48 -08:00
2024-01-11 14:24:32 -08:00
2024-01-11 11:31:46 -08:00
2024-01-11 14:24:32 -08:00
2024-01-12 11:32:19 -08:00
2024-01-08 10:26:08 -08:00
2024-01-08 10:26:08 -08:00
2024-01-11 10:07:29 -08:00
2024-01-12 13:32:30 -08:00
2024-01-08 10:26:08 -08:00
2024-01-12 12:38:37 +01:00