Skip to content
Commit c319572a authored by Tero Kristo's avatar Tero Kristo Committed by Lokesh Vutla
Browse files

clk: sci-clk: fix return value of set_rate



Set rate should return the new clock rate on success, and negative error
value on failure. Fix this, as currently set_rate returns 0 on success.

Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
Signed-off-by: default avatarTero Kristo <kristo@kernel.org>
parent 7ab418fb
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