diff options
| author | Simon Glass <[email protected]> | 2021-05-13 19:39:31 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-15 18:42:40 -0400 |
| commit | 92f1e9a4b31c0bf0f4f61ab823a6a88657323646 (patch) | |
| tree | f9a82b53c030349b558fbb1319c27a0988c9bf91 /scripts/const_structs.checkpatch | |
| parent | 9a72bea6cbb14f196acc6422d6f5b1eefb590a61 (diff) | |
clk: Detect failure to set defaults
When the default clocks cannot be set, the clock is silently probed and
the error is ignored. This is incorrect, since having the clocks at the
correct speed may be important for operation of the system.
Fix it by checking the return code.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
