Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input: hil_kbd - fix error return code in hil_dev_connect()
[ Upstream commit d9b5769 ] Return error code -EINVAL rather than '0' when the combo devices are not supported. Fixes: fa71c60 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information