aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tlv320aic23b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tlv320aic23b.c')
-rw-r--r--drivers/media/video/tlv320aic23b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tlv320aic23b.c b/drivers/media/video/tlv320aic23b.c
index 0282f385bbdf..e906528348a9 100644
--- a/drivers/media/video/tlv320aic23b.c
+++ b/drivers/media/video/tlv320aic23b.c
@@ -133,7 +133,7 @@ static int tlv320aic23b_probe(struct i2c_client *client)
133 133
134 /* Check if the adapter supports the needed features */ 134 /* Check if the adapter supports the needed features */
135 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) 135 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
136 return 0; 136 return -EIO;
137 137
138 v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name); 138 v4l_info(client, "chip found @ 0x%x (%s)\n", client->addr << 1, client->adapter->name);
139 139