aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/upd64031a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/upd64031a.c')
-rw-r--r--drivers/media/video/upd64031a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/upd64031a.c b/drivers/media/video/upd64031a.c
index b060ce34071c..0318432d85f8 100644
--- a/drivers/media/video/upd64031a.c
+++ b/drivers/media/video/upd64031a.c
@@ -200,7 +200,7 @@ static int upd64031a_probe(struct i2c_client *client)
200 int i; 200 int i;
201 201
202 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) 202 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
203 return 0; 203 return -EIO;
204 204
205 v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name); 205 v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name);
206 206