aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPrathamesh Shete <[email protected]>2023-05-24 16:20:21 +0530
committerBartosz Golaszewski <[email protected]>2023-05-26 14:29:00 +0200
commitb2b56a16323043b49dea915bc47408b30b91b0b6 (patch)
treed55e1fe5d04bd9e7ef9ab8bc88b076fa8e2d68a8 /lib/mpi/mpi-sub-ui.c
parent6516c3d5d6161d81087c1e9c683480fd2597a0c3 (diff)
gpio: tegra186: Check GPIO pin permission before access.
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 <[email protected]> Signed-off-by: Prathamesh Shete <[email protected]> Acked-by: Thierry Reding <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Acked-by: Jon Hunter <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions