diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2024-01-26 20:09:01 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-01-26 20:52:14 +0300 |
commit | 00aab7dcb2267f2aef59447602f34501efe1a07f (patch) | |
tree | 5f4c7b959a9b6c8752dcbc69125aaba9d23ff571 /drivers/dma/dmaengine.c | |
parent | a3bdcdd022c68942a774e8e63424cc11c85aab78 (diff) | |
download | linux-00aab7dcb2267f2aef59447602f34501efe1a07f.tar.xz |
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>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions