diff options
| author | Alex Bee <[email protected]> | 2023-11-14 22:11:27 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-11-29 09:32:15 -0500 |
| commit | d6d8078cb3604b60a579eb700ef8151d2b2b25fa (patch) | |
| tree | d06d3b1c1a0f2113fb01bc1f5333f0b875b4e70f /scripts/kernel-doc | |
| parent | 891b178c579c0084c1759cf0319e7151a7e288a5 (diff) | |
timer-uclass: Always use "clock-frequency" property as fallback
Currently the "clock-frequency" DT property is only being considered as an
fallback if either there is no clock driver, the clock driver implements
the request-op correctly or there is no clock defined for the timer at all.
This patch makes "clock-frequency" also being picked as a fallback if
getting the clock-rate fails, since clk_get(_by_index) will return no
error, if a clock driver does not implement the request-op and does also
not support getting the rate of the clock in question.
timer_post_probe will take care if the property does not exist in the DT or
is defined as 0.
Signed-off-by: Alex Bee <[email protected]>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
