Commit 9b3bc483 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Zheng Zengkai
Browse files

Input: zinitix - fix return type of zinitix_init_touch()



stable inclusion
from stable-5.10.20
commit 6fb1564f74fbd9e711a8ad0083d909078b046457
bugzilla: 50608

--------------------------------

[ Upstream commit 836f308c ]

zinitix_init_touch() returns error code or 0 for success and therefore
return type must be int, not bool.

Fixes: 26822652 ("Input: add zinitix touchscreen driver")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/YC8z2bXc3Oy8pABa@google.com


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 97753be6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment