Files
linux/drivers/staging
Gustavo A. R. Silva b24d10976e staging: iio: adc: fix error return code in ad7606_par_probe()
platform_get_irq() returns an error code, but the ad7606_par driver
ignores it and always returns -ENODEV. This is not correct and,
prevents -EPROBE_DEFER from being propagated properly.

Print and propagate the return value of platform_get_irq on failure.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-08-12 13:08:05 +01:00
..
2017-07-16 08:41:01 +02:00
2017-07-23 19:53:30 -07:00
2017-07-23 19:53:30 -07:00
2017-04-28 12:07:24 +02:00
2017-07-23 19:53:30 -07:00
2017-07-23 19:53:30 -07:00