[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <83cb9e79-bf21-0c15-2086-4da4da484b18@metafoo.de>
Date: Mon, 20 Feb 2017 21:58:39 +0100
From: Lars-Peter Clausen <lars@...afoo.de>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
jic23@...nel.org, knaack.h@....de, pmeerw@...erw.net,
michal.simek@...inx.com, soren.brinkmann@...inx.com
Cc: linux-iio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] iio: adc: xilinx: Fix error handling
On 02/20/2017 09:25 PM, Christophe JAILLET wrote:
> Le 20/02/2017 à 09:35, Lars-Peter Clausen a écrit :
>> 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-39ZsbGIQGT5GWvitb5QawA@...lic.gmane.org>
>> Thanks, looks good.
>>
>> Acked-by: Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@...lic.gmane.org>
>>
>> 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;
>>
> I agree.
>
> Would you like me to send a V2 with both fixes or a sepparate patch?
Up to you.
Powered by blists - more mailing lists