Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2316a7a3 authored by Alex Frid's avatar Alex Frid Committed by Stephen Boyd
Browse files

clk: Don't write error code into divider register



Add a check for error returned by divider value calculation to avoid
writing error code into hw register.

Signed-off-by: default avatarAlex Frid <afrid@nvidia.com>
Reviewed-by: default avatarPeter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: default avatarJon Mayo <jmayo@nvidia.com>
Fixes: bca9690b ("clk: divider: Make generic for usage elsewhere")
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 6c264416
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