From: Hans Verkuil Date: Sun, 16 Sep 2007 13:47:15 +0000 (-0300) Subject: V4L/DVB (6465): Use correct error codes when chip is not recognized X-Git-Tag: v2.6.25-rc1~1235^2~446 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=188f3457c21ac7869005021b56b4578293c644bb;p=pandora-kernel.git V4L/DVB (6465): Use correct error codes when chip is not recognized If the chip isn't recognized, then the correct errors should be returned. The v4l2_i2c_attach() utility function will return 0 for all errors except -ENOMEM to provide proper compatibility support for the old I2C probing function. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed