From: Stephen Boyd Date: Wed, 15 Jan 2014 18:47:22 +0000 (-0800) Subject: clk: Add set_rate_and_parent() op X-Git-Tag: v3.14-rc1~109^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fa2252b7a78a8057017471a28f47b306e95ee26;p=pandora-kernel.git clk: Add set_rate_and_parent() op Some of Qualcomm's clocks can change their parent and rate at the same time with a single register write. Add support for this hardware to the common clock framework by adding a new set_rate_and_parent() op. When the clock framework determines that both the parent and the rate are going to change during clk_set_rate() it will call the .set_rate_and_parent() op if available and fall back to calling .set_parent() followed by .set_rate() otherwise. Reviewed-by: James Hogan Signed-off-by: Stephen Boyd Signed-off-by: Mike Turquette --- Reading git-diff-tree failed