From: Alex Elder Date: Tue, 27 May 2014 16:56:56 +0000 (-0500) Subject: clk: bcm/kona: implement determine_rate() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2152d0e4de54f4f5a9cff2316d7cfb04fdfad45;p=pandora-kernel.git clk: bcm/kona: implement determine_rate() Implement the clk->determine_rate method for Broadcom Kona peripheral clocks. This allows a peripheral clock to be re-parented in order to satisfy a rate change request. This takes the place of the previous kona_peri_clk_round_rate() functionality, though that function remains because it is used by the new one. The parent clock that allows the peripheral clock to produce a rate closest to the one requested is the one selected, though the current parent is used by default. Signed-off-by: Alex Elder Signed-off-by: Mike Turquette --- Reading git-diff-tree failed