aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/upd64083.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/upd64083.c')
-rw-r--r--drivers/media/video/upd64083.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/upd64083.c b/drivers/media/video/upd64083.c
index 08d2d643c65e..7e32c5b0c29d 100644
--- a/drivers/media/video/upd64083.c
+++ b/drivers/media/video/upd64083.c
@@ -178,7 +178,7 @@ static int upd64083_probe(struct i2c_client *client)
178 int i; 178 int i;
179 179
180 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) 180 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
181 return 0; 181 return -EIO;
182 182
183 v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name); 183 v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name);
184 184