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 a18c50e commit e2d82b9Copy full SHA for e2d82b9
drivers/iio/adc/ad4630.c
@@ -1479,7 +1479,8 @@ static int ad4630_probe(struct spi_device *spi)
1479
1480
ret = ad4630_config(st);
1481
if (ret)
1482
- return ret;
+ return dev_err_probe(&spi->dev, ret,
1483
+ "Config failed: %d\n", ret);
1484
1485
if (st->pga_gpios) {
1486
ad4630_fill_scale_tbl(st);
@@ -1496,7 +1497,8 @@ static int ad4630_probe(struct spi_device *spi)
1496
1497
1498
ret = ad4630_pwm_get(st);
1499
1500
1501
+ "Failed to get PWM: %d\n", ret);
1502
1503
indio_dev->name = st->chip->name;
1504
indio_dev->info = &ad4630_info;
0 commit comments