diff options
author | Prathamesh Shete <pshete@nvidia.com> | 2021-10-25 16:39:59 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-10-26 01:27:39 +0200 |
commit | a42c7d95d29ec1d57511e87793ea1fa4ad41984d (patch) | |
tree | 04df9a747cbf58016650e0043b21367f3c03c7cc /drivers/irqchip/irq-imx-gpcv2.c | |
parent | c7892ae13e461ed20154321eb792e07ebe38f5b3 (diff) |
pinctrl: tegra: Use correct offset for pin group
Function tegra_pinctrl_gpio_request_enable() and
tegra_pinctrl_gpio_disable_free() uses pin offset instead
of group offset, causing the driver to use wrong offset
to enable gpio.
Add a helper function tegra_pinctrl_get_group() to parse the
pin group and determine correct offset.
Signed-off-by: Kartik K <kkartik@nvidia.com>
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Link: https://lore.kernel.org/r/20211025110959.27751-1-pshete@nvidia.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/irqchip/irq-imx-gpcv2.c')
0 files changed, 0 insertions, 0 deletions