From: Axel Lin Date: Mon, 1 Nov 2010 09:25:39 +0000 (-0300) Subject: [media] tea6415c: return -EIO if i2c_check_functionality fails X-Git-Tag: v2.6.38-rc1~470^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76e4a9a7164263d8ffe816920f84a91e7dfee444;p=pandora-kernel.git [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 Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed