]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clk: composite: .determine_rate support
authorEmilio López <emilio@elopez.com.ar>
Sun, 15 Sep 2013 00:37:59 +0000 (21:37 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 10 Nov 2013 10:39:07 +0000 (11:39 +0100)
commit107f3198fd2c5902b9cc54c86a0c86f815c173e2
tree60dc1d889efaf68e77b6c18126a99fcc9ae6eff9
parent272b98c6455f00884f0350f775c5342358ebb73f
clk: composite: .determine_rate support

This commit adds .determine_rate support to the composite clock. It will
use the .determine_rate callback from the rate component if available,
and fall back on the mux component otherwise. This allows composite
clocks to enjoy the benefits of automatic clock reparenting.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/clk-composite.c