From: Ulf Hansson Date: Tue, 2 Apr 2013 21:09:38 +0000 (+0200) Subject: clk: Fixup errorhandling for clk_set_parent X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~129^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031dcc9bd4164a7482b89987d5b9ecb3af5e9033;p=pandora-kernel.git clk: Fixup errorhandling for clk_set_parent Fixup the broken feature of allowing reparent of a clk to the orhpan list and vice verse. When operating on a single-parent clk, the .set_parent callback for the clk hw is optional to implement, but for a multi-parent clk it is mandatory. Moreover improve the errorhandling by verifying the prerequisites before triggering clk notifiers. This will prevent unnecessary rollback with ABORT_RATE_CHANGE. Signed-off-by: Ulf Hansson Cc: Rajagopal Venkat Signed-off-by: Mike Turquette --- Reading git-diff-tree failed