Skip to content
Commit 92f1e9a4 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 9a72bea6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment