summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/mcs5000_ts.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-08-25 09:43:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 14:39:10 -0300
commiteb70ac1b1e457537a056cb714ccddbb1fd56f9ed (patch)
treead599b0b767cbefd1f08d75a382c237c63d3726f /drivers/input/touchscreen/mcs5000_ts.c
parentf68afe5d45198bfe7040cf751033c6208577468c (diff)
[media] wl128x: fix compiler warning + wrong write() return
The fix is to check for ret and return -EFAULT if non-zero. I also noticed that write() didn't return the number of bytes written. Fixed as well. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/input/touchscreen/mcs5000_ts.c')
0 files changed, 0 insertions, 0 deletions