summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/upd64083.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/upd64083.c')
-rw-r--r--linux/drivers/media/video/upd64083.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/upd64083.c b/linux/drivers/media/video/upd64083.c
index 280c593d0..34e99cfbb 100644
--- a/linux/drivers/media/video/upd64083.c
+++ b/linux/drivers/media/video/upd64083.c
@@ -186,7 +186,7 @@ static int upd64083_probe(struct i2c_client *client)
int i;
if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
- return 0;
+ return -EIO;
v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name);