summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/at91_adc.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-10 11:52:05 +0000
committerMark Brown <broonie@linaro.org>2014-01-10 11:52:05 +0000
commitfce6bd84d663b92997e0fa9c971ed2b2cdf08fb4 (patch)
treec5b460cfc60b16a7c6718ae2613bb1d9cb98e5b8 /drivers/iio/adc/at91_adc.c
parent56d37d85438df38e150282baafe52dcd588854c7 (diff)
parent374b105797c3d4f29c685f3be535c35f5689b30e (diff)
downloadtalos-obmc-linux-fce6bd84d663b92997e0fa9c971ed2b2cdf08fb4.tar.gz
talos-obmc-linux-fce6bd84d663b92997e0fa9c971ed2b2cdf08fb4.zip
Merge tag 'v3.13-rc3' into asoc-arizona
Linux 3.13-rc3
Diffstat (limited to 'drivers/iio/adc/at91_adc.c')
-rw-r--r--drivers/iio/adc/at91_adc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index 17df74908db1..5b1aa027c034 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc/at91_adc.c
@@ -1047,6 +1047,7 @@ static int at91_adc_probe(struct platform_device *pdev)
} else {
if (!st->caps->has_tsmr) {
dev_err(&pdev->dev, "We don't support non-TSMR adc\n");
+ ret = -ENODEV;
goto error_disable_adc_clk;
}
OpenPOWER on IntegriCloud