kernel-fxtec-pro1x/drivers/hid/intel-ish-hid
Pan Bian e1bb74ba45 HID: intel-ish-hid: fixes incorrect error handling
[ Upstream commit 6e0856d317440a950b17c00a9283114f025e5699 ]

The memory chunk allocated by hid_allocate_device() should be released
by hid_destroy_device(), not kfree().

Fixes: 0b28cb4bcb1("HID: intel-ish-hid: ISH HID client driver")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:20:24 +01:00
..
ipc HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit 2019-04-05 22:33:14 +02:00
ishtp HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring() 2019-11-12 19:20:54 +01:00
ishtp-hid-client.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
ishtp-hid.c HID: intel-ish-hid: fixes incorrect error handling 2019-12-05 09:20:24 +01:00
ishtp-hid.h
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00