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

Skip to content
Commit cec444b7 authored by Ben Dooks's avatar Ben Dooks
Browse files

[ARM] S3C: BUG_ON() if clock has already been registered



Add a simple check when registering a clock on whether
the clock has already been added to the list.

Any attempt to re-register a clock will cause the
clock list to be come looped and thus produces silent
failures when looking up clocks.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 93b45885
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