diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-11-01 06:25:39 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 08:16:39 -0200 |
commit | 76e4a9a7164263d8ffe816920f84a91e7dfee444 (patch) | |
tree | ee7b21f7dd6819bfe813363bf6b3530c7079b3b5 /samples | |
parent | 1ce6a1433572c650247480e1bbbca6bd61db7874 (diff) |
[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 'samples')
0 files changed, 0 insertions, 0 deletions