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)
commit188f3457c21ac7869005021b56b4578293c644bb
tree7002562a01698d2fa6070f1547e609f9b29cb163
parent6235168db8ed96c587e566be0dd72a77ca212693
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cs53l32a.c
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/msp3400-driver.c
drivers/media/video/saa7115.c
drivers/media/video/saa7127.c
drivers/media/video/tlv320aic23b.c
drivers/media/video/upd64031a.c
drivers/media/video/upd64083.c
drivers/media/video/v4l2-common.c
drivers/media/video/vp27smpx.c
drivers/media/video/wm8739.c