diff options
| author | Sneh Mankad <sneh.mankad@oss.qualcomm.com> | 2026-05-29 18:25:45 +0530 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-06-08 21:30:53 +0200 |
| commit | 4e31ab47997540d0ff4c9de801741bed03c1ab3f (patch) | |
| tree | e2218be09cf15d882ef60835bc4f6b386abe4739 /scripts/stackusage | |
| parent | ba80761235bb526e7700468baaa9bddffebc3320 (diff) | |
pinctrl: qcom: Fix resolving register base address from device node
Commit 56ffb63749f4 ("pinctrl: qcom: add multi TLMM region option parameter")
added reg-names property based register reading. However multiple platforms
are not using the reg-names as they have only single TLMM register region.
Commit tried to handle this using the default_region module parameter,
however this condition is unreachable as the error return precedes it by
just checking if reg-names property exists or not, making it impossible
to use tlmm-test for the SoCs (x1e80100) which don't have reg-names
property in TLMM device.
Fix this by moving the default_region check at the start of the
tlmm_reg_base().
Fixes: 56ffb63749f4 ("pinctrl: qcom: add multi TLMM region option parameter")
Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
