clk: bcm2835: Allow reparenting leaf clocks while they're running.
authorEric Anholt <eric@anholt.net>
Thu, 2 May 2019 22:24:04 +0000 (15:24 -0700)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:54:30 +0000 (11:54 +0100)
commit3240ab1fe84b3743beff0276dbac97e6bfa82187
tree34f2dd32993b04a371ff542ce6a9bda648b7a147
parent637561e48b1885b7eb66a6f64eaa012e48a3f9c4
clk: bcm2835: Allow reparenting leaf clocks while they're running.

This falls under the same "we can reprogram glitch-free as long as we
pause generation" rule as updating the div/frac fields.  This can be
used for runtime reclocking of V3D to manage power leakage.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/clk/bcm/clk-bcm2835.c