Skip to content
Commit ed1ab6ff authored by Wei Yongjun's avatar Wei Yongjun Committed by Jiri Kosina
Browse files

HID: thrustmaster: fix return value check in thrustmaster_probe()



Fix the return value check which testing the wrong variable
in thrustmaster_probe().

Fixes: c49c3363 ("HID: support for initialization of some Thrustmaster wheels")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 25bdbfbb
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