[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMRc=Md+--VhGkyz5+1f+yS6nmNwpxf09HaFTnhyEAzJ6xSavw@mail.gmail.com>
Date: Fri, 26 May 2023 14:29:17 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Prathamesh Shete <pshete@...dia.com>
Cc: linus.walleij@...aro.org, thierry.reding@...il.com,
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 v4] gpio: tegra186: Check GPIO pin permission before access.
On Wed, May 24, 2023 at 12:50 PM Prathamesh Shete <pshete@...dia.com> wrote:
>
> This change checks if we have the necessary permission to
> access the GPIO. For devices that have support for virtualisation
> we need to check both the TEGRA186_GPIO_VM_REG and the
> TEGRA186_GPIO_SCR_REG registers. For device that do not have
> virtualisation support for GPIOs we only need to check the
> TEGRA186_GPIO_SCR_REG register.
>
> Signed-off-by: Manish Bhardwaj <mbhardwaj@...dia.com>
> Signed-off-by: Prathamesh Shete <pshete@...dia.com>
> Acked-by: Thierry Reding <treding@...dia.com>
> Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
> Acked-by: Jon Hunter <jonathanh@...dia.com>
> ---
Applied, thanks!
Bart
Powered by blists - more mailing lists