Skip to content
Commit d9b57691 authored by Zhen Lei's avatar Zhen Lei Committed by Dmitry Torokhov
Browse files

Input: hil_kbd - fix error return code in hil_dev_connect()



Return error code -EINVAL rather than '0' when the combo devices are not
supported.

Fixes: fa71c605 ("Input: combine hil_kbd and hil_ptr drivers")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210515030053.6824-1-thunder.leizhen@huawei.com


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d12b64b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment