From: Sebastian Andrzej Siewior Date: Wed, 4 Nov 2009 18:35:09 +0000 (-0300) Subject: V4L/DVB (13292): tvp514x: recognize the error case in tvp514x_read_reg() X-Git-Tag: v2.6.33-rc1~338^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f901a991991fd3c9ac51bc7234a6706ef17ddfe;p=pandora-kernel.git 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 Acked-by: Vaibhav Hiremath Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed