[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56CD75D3.3070805@nvidia.com>
Date: Wed, 24 Feb 2016 09:20:19 +0000
From: Jon Hunter <jonathanh@...dia.com>
To: Krzysztof Adamski <krzysztof.adamski@...to.com>,
Mark Brown <broonie@...nel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: core: fix error path of
regulator_ena_gpio_free
On 24/02/16 08:27, Krzysztof Adamski wrote:
> This problem was introduced by:
> commit daad134d6649 ("regulator: core: Request GPIO before creating
> sysfs entries")
>
> The error path was not updated correctly and in case
> regulator_ena_gpio_free failed, device_unregister was called even though
> it was not registered yet.
>
> Signed-off-by: Krzysztof Adamski <krzysztof.adamski@...to.com>
> Reported-by: Jon Hunter <jonathanh@...dia.com>
Make sure you tag the patch as V2, etc, so that Mark knows which version
to pick up.
Jon
Powered by blists - more mailing lists