commit | 76e4a9a7164263d8ffe816920f84a91e7dfee444 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Mon Nov 01 06:25:39 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Dec 29 08:16:39 2010 -0200 |
tree | ee7b21f7dd6819bfe813363bf6b3530c7079b3b5 | |
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>