]> git.baikalelectronics.ru Git - kernel.git/commit
HID: i2c-hid: show the error when failing to fetch the HID descriptor
authorCoiby Xu <coiby.xu@gmail.com>
Wed, 21 Oct 2020 14:33:05 +0000 (22:33 +0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 29 Oct 2020 15:11:10 +0000 (16:11 +0100)
commitb2739589217fd1768c218499763a317b1c686df7
treeb8e32b62bf069723daee135bfa38ae233af0f65d
parentaab9f41dff55f15959228c919ced833a0f25a204
HID: i2c-hid: show the error when failing to fetch the HID descriptor

i2c_hid_probe() should notify the user of the error of failing to fetch the HID
Descriptor instead of silently exiting.

Link: https://forum.manjaro.org/t/elan-touchpad-working-in-live-but-not-in-native-os/31860/55
Cc: Barnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid-core.c