Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7b727acc authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

Input: cm109 - fix checking return value of usb_control_msg



If successful, usb_control_msg returns the number of bytes transferred,
otherwise a negative error number.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 1fab84aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment