[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZIH7jH09-Y7BIFPH@orome>
Date: Thu, 8 Jun 2023 18:02:20 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Prathamesh Shete <pshete@...dia.com>
Cc: linus.walleij@...aro.org, brgl@...ev.pl, jonathanh@...dia.com,
linux-tegra@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, smangipudi@...dia.com,
Manish Bhardwaj <mbhardwaj@...dia.com>
Subject: Re: [PATCH v2] gpio: tegra186: Check PMC driver status before any
request
On Wed, Jun 07, 2023 at 05:01:04PM +0530, Prathamesh Shete wrote:
> When the PMC device is disabled, probing of the Tegra186 GPIO driver
> fails because the IRQ domain that is registered by the PMC driver is
> not found. The PMC IRQ domain is only used for wake-up and does not
> impact GPIO functionality in general. Therefore, if the PMC device is
> disabled, skip looking up the PMC IRQ domain to allow the GPIO driver
> to be probed.
>
> Signed-off-by: Manish Bhardwaj <mbhardwaj@...dia.com>
> Signed-off-by: Prathamesh Shete <pshete@...dia.com>
> ---
> drivers/gpio/gpio-tegra186.c | 14 +++++++++-----
> 1 file changed, 9 insertions(+), 5 deletions(-)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists