We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b4878 commit 8886e1bCopy full SHA for 8886e1b
sound/soc/codecs/aw88261.c
@@ -1245,7 +1245,7 @@ static int aw88261_i2c_probe(struct i2c_client *i2c)
1245
1246
ret = i2c_check_functionality(i2c->adapter, I2C_FUNC_I2C);
1247
if (!ret)
1248
- return dev_err_probe(&i2c->dev, ret, "check_functionality failed");
+ return dev_err_probe(&i2c->dev, -ENXIO, "check_functionality failed");
1249
1250
aw88261 = devm_kzalloc(&i2c->dev, sizeof(*aw88261), GFP_KERNEL);
1251
if (!aw88261)
0 commit comments