]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Input: cy8ctmg110_ts - fix checking return value of i2c_master_send
authorAxel Lin <axel.lin@gmail.com>
Wed, 13 Jul 2011 07:03:36 +0000 (00:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Jul 2011 07:08:20 +0000 (00:08 -0700)
commit21184c4efbba7b7959c7868cf2b99f43f29fc199
tree9b2689a7a8ecde630ebed0e637d97a0cf461dd66
parentfea2021c76a414b71204cc2aea623bb037fa913b
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: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/cy8ctmg110_ts.c