[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181016105854.GK17341@piout.net>
Date: Tue, 16 Oct 2018 12:58:54 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Thierry Reding <thierry.reding@...il.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Jonathan Hunter <jonathanh@...dia.com>,
linux-rtc@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: tegra: Propagate errors from platform_get_irq()
On 21/09/2018 12:12:09+0200, Thierry Reding wrote:
> From: Thierry Reding <treding@...dia.com>
>
> Instead of confusingly returning -EBUSY on failure to obtain an
> interrupt, propagate the real error code. While at it, let the user know
> why the interrupt could not be acquired.
>
> Signed-off-by: Thierry Reding <treding@...dia.com>
> ---
> drivers/rtc/rtc-tegra.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists