[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191001150412.GG3566931@ulmo>
Date: Tue, 1 Oct 2019 17:04:12 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Nagarjuna Kristam <nkristam@...dia.com>
Cc: jonathanh@...dia.com, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [Patch V2] soc/tegra: fuse: Add fuse clock check in
tegra_fuse_readl
On Tue, Sep 03, 2019 at 04:26:52PM +0530, Nagarjuna Kristam wrote:
> tegra_fuse_readl() can be called from drivers at any time. If this API is
> called before tegra_fuse_probe(), we end up enabling clock before it is
> registered. Add check for fuse clock in tegra_fuse_readl() and return
> corresponding error if any.
>
> Signed-off-by: Nagarjuna Kristam <nkristam@...dia.com>
> ---
> V2:
> - Added Null and other error checks for fuse->clk.
> ---
> drivers/soc/tegra/fuse/fuse-tegra.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied to for-5.5/soc, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists