commit | 188f3457c21ac7869005021b56b4578293c644bb | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Sun Sep 16 10:47:15 2007 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Fri Jan 25 19:01:27 2008 -0200 |
tree | 7002562a01698d2fa6070f1547e609f9b29cb163 | |
parent | 6235168db8ed96c587e566be0dd72a77ca212693 [diff] |
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>