diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-11-01 10:25:39 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 11:16:39 +0100 |
commit | 76e4a9a7164263d8ffe816920f84a91e7dfee444 (patch) | |
tree | ee7b21f7dd6819bfe813363bf6b3530c7079b3b5 /drivers/media/video/saa7164 | |
parent | [media] drivers/media/video: Update WARN uses (diff) | |
download | linux-76e4a9a7164263d8ffe816920f84a91e7dfee444.tar.xz linux-76e4a9a7164263d8ffe816920f84a91e7dfee444.zip |
[media] tea6415c: return -EIO if i2c_check_functionality fails
If the adapter does not support I2C_FUNC_SMBUS_WRITE_BYTE,
return -EIO instead of 0.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164')
0 files changed, 0 insertions, 0 deletions