diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2026-06-12 16:52:51 -0500 |
|---|---|---|
| committer | Claudiu Beznea <claudiu.beznea@tuxon.dev> | 2026-08-12 09:02:57 +0300 |
| commit | da3abd0445245077a1ac45b97ee0a59f8d300d31 (patch) | |
| tree | 2924236742b96e936c99674078846f4222c454e9 /include/linux/processor.h | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (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>
Link: https://patch.msgid.link/20260612215251.1888345-1-robh@kernel.org
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions
