V4L/DVB (6465): Use correct error codes when chip is not recognized
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 16 Sep 2007 13:47:15 +0000 (10:47 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:27 +0000 (19:01 -0200)
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found