diff options
author | 2025-03-27 11:23:49 +0800 | |
---|---|---|
committer | 2025-04-07 08:53:10 +0200 | |
commit | 8323f3a69de6f6e96bf22f32dd8e2920766050c2 (patch) | |
tree | 5092b113ff8b9be65d1aeaecb760c3c5c313b86a /scripts/lib/kdoc/kdoc_output.py | |
parent | Linux 6.15-rc1 (diff) | |
download | linux-rng-8323f3a69de6f6e96bf22f32dd8e2920766050c2.tar.xz linux-rng-8323f3a69de6f6e96bf22f32dd8e2920766050c2.zip |
gpio: tegra186: fix resource handling in ACPI probe path
When the Tegra186 GPIO controller is probed through ACPI matching,
the driver emits two error messages during probing:
"tegra186-gpio NVDA0508:00: invalid resource (null)"
"tegra186-gpio NVDA0508:00: invalid resource (null)"
Fix this by getting resource first and then do the ioremap.
Fixes: 2606e7c9f5fc ("gpio: tegra186: Add ACPI support")
Cc: stable@vger.kernel.org
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250327032349.78809-1-kanie@linux.alibaba.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions