HID: Add return types for input_configured func ptr
This patch adds proper return types to input_configured function pointer in hid 3rd party drivers. Without this patch, there was mismatch in return type leading to failure in hidinput_connect, which subsequently causes failure in hid_connect->hid_hw_start-><hid_driver>_probe. This failure results in subsequent kernel crash as driver structure is freed during probe failure, and any subsequent write to driver results in crash. The change in prototypes for input_configured were done as part of commit 274ba2dc ("HID: Add input_register callback."), leading to the kernel crash. Change-Id: I7fb442fca54e419ac11236706170c09caedd2ecf CRs-Fixed: 982154 Signed-off-by:Hemant Gupta <hemantg@codeaurora.org>
Loading
Please register or sign in to comment