[PATCH] iio: adc: xilinx: Fix error handling

Lars-Peter Clausen lars at metafoo.de
Mon Feb 20 00:35:04 PST 2017


On 02/19/2017 09:29 PM, Christophe JAILLET wrote:
> Reorder error handling labels in order to match the way resources have
> been allocated.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

Thanks, looks good.

Acked-by: Lars-Peter Clausen <lars at metafoo.de>

I think there is one more issue

    ret = xadc->ops->setup(pdev, indio_dev, irq);
    if (ret)
        goto err_free_samplerate_trigger;

should be

	goto err_clk_disable_unprepare;




More information about the linux-arm-kernel mailing list