diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-24 20:52:42 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-05-25 05:57:04 +0200 |
commit | d9b576917a1d0efa293801a264150a1b37691617 (patch) | |
tree | 0ea44030ccded7a008e0f76fb08774cd7a9be3ee /drivers/mcb | |
parent | MAINTAINERS: repair reference in HYCON HY46XX TOUCHSCREEN SUPPORT (diff) | |
download | linux-d9b576917a1d0efa293801a264150a1b37691617.tar.xz linux-d9b576917a1d0efa293801a264150a1b37691617.zip |
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: fa71c605c2bb ("Input: combine hil_kbd and hil_ptr drivers")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210515030053.6824-1-thunder.leizhen@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions