Skip to content
Commit 7a5fe238 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen
Browse files

[AVR32] Make sure all genclocks have a parent



Initialize the parent field of each generic clock by looking at the
PM registers. This means that the genclock operations can always
assume that the parent field is non-null, so they don't have to
check. Also remove a few unnecessary BUG_ON()s.

Extracted from a patch by David Brownell.

Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent 160f3453
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment