summaryrefslogtreecommitdiff
path: root/sound/soc/qcom/qdsp6/q6afe-clocks.c
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2025-01-11 00:50:29 +0300
committerRob Herring (Arm) <robh@kernel.org>2025-01-13 00:31:47 +0300
commit6e5773d52f4a2d9c80692245f295069260cff6fc (patch)
tree3898008db5376e66324b89ba70e8bee4b0161e35 /sound/soc/qcom/qdsp6/q6afe-clocks.c
parent44748065ed321041db6e18cdcaa8c2a9554768ac (diff)
downloadlinux-6e5773d52f4a2d9c80692245f295069260cff6fc.tar.xz
of/address: Fix WARN when attempting translating non-translatable addresses
The recently added WARN() for deprecated #address-cells and #size-cells triggered a WARN when of_platform_populate() (which calls of_address_to_resource()) is used on nodes with non-translatable addresses. This case is expected to return an error. Rework the bus matching to allow no match and make the default require an #address-cells property. That should be safe to do as any platform missing #address-cells would have a warning already. Fixes: 045b14ca5c36 ("of: WARN on deprecated #address-cells/#size-cells handling") Tested-by: Sean Anderson <sean.anderson@linux.dev> Link: https://lore.kernel.org/r/20250110215030.3637845-2-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'sound/soc/qcom/qdsp6/q6afe-clocks.c')
0 files changed, 0 insertions, 0 deletions