[PATCH] V4L/DVB: tea6415c: return -EIO if i2c_check_functionality fails

2010-11-01 Thread Axel Lin
If the adapter does not support I2C_FUNC_SMBUS_WRITE_BYTE, return -EIO instead of 0. Signed-off-by: Axel Lin axel@gmail.com --- drivers/media/video/tea6415c.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/tea6415c.c

Re: [PATCH] V4L/DVB: tea6415c: return -EIO if i2c_check_functionality fails

2010-11-01 Thread Hans Verkuil
On Monday, November 01, 2010 10:25:39 Axel Lin wrote: If the adapter does not support I2C_FUNC_SMBUS_WRITE_BYTE, return -EIO instead of 0. Signed-off-by: Axel Lin axel@gmail.com Acked-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/tea6415c.c |2 +- 1 files changed,