diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2026-06-12 16:52:51 -0500 |
|---|---|---|
| committer | Brian Masney <bmasney@redhat.com> | 2026-06-29 13:15:26 -0400 |
| commit | 03221f26ed7cb566131cf798bc653b7ff2ef23aa (patch) | |
| tree | ee7bebcfc9d0c1750c0b5c123819df0ec84ef329 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 804bac4a2654ac69e328d68e1961eb984fb18a01 (diff) | |
clk: at91: Read "reg" with helper
The "reg" property is an address-sized DT cell property. The AT91
compat clock parser only uses a small bus id from it, but reading it
with the u8 helper does not match the property encoding.
Use of_property_read_reg() so the code goes through the helper for
"reg" properties, then keep the existing range check before passing
the bus id to the clock registration code.
Assisted-by: Codex:gpt-5-5
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
