Skip to content
Snippets Groups Projects
Commit 21184c4e authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

Input: cy8ctmg110_ts - fix checking return value of i2c_master_send


i2c_master_send returns negative errno, or else the number of bytes written.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent fea2021c
No related branches found
No related tags found
No related merge requests found
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