commit | 6f901a991991fd3c9ac51bc7234a6706ef17ddfe | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Wed Nov 04 15:35:09 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Dec 05 18:41:13 2009 -0200 |
tree | a920601fb01d5b5e81cd3cb3c1f1cb870c3649b5 | |
parent | 480be1851aebcb0b9c5b0fb9acefe5da97cc702a [diff] |
V4L/DVB (13292): tvp514x: recognize the error case in tvp514x_read_reg() i2c_smbus_read_byte_data() returns a negative value on error. It is very likely to be != -1 (-EPERM). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>