Skip to content
Commit 855b6985 authored by Luo Meng's avatar Luo Meng Committed by Dmitry Torokhov
Browse files

Input: i8042 - fix error return code in i8042_setup_aux()

Fix to return a negative error code from the error handling case
instead of 0 in function i8042_setup_aux(), as done elsewhere in this
function.

Fixes: f8113416

 ("Input: i8042 - use platform_driver_probe")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarLuo Meng <luomeng12@huawei.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20201123133420.4071187-1-luomeng12@huawei.com
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent fa248db0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment