summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-imx.h
diff options
context:
space:
mode:
authorUlf Hansson2013-04-02 23:09:38 +0200
committerMike Turquette2013-04-09 03:19:32 +0200
commit031dcc9bd4164a7482b89987d5b9ecb3af5e9033 (patch)
treeacab66af5c502cd7ad651de07356e33d3ad36b3b /drivers/pinctrl/pinctrl-imx.h
parentclk: Restructure code for __clk_reparent (diff)
downloadkernel-qcow2-linux-031dcc9bd4164a7482b89987d5b9ecb3af5e9033.tar.gz
kernel-qcow2-linux-031dcc9bd4164a7482b89987d5b9ecb3af5e9033.tar.xz
kernel-qcow2-linux-031dcc9bd4164a7482b89987d5b9ecb3af5e9033.zip
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 <ulf.hansson@linaro.org> Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-imx.h')
0 files changed, 0 insertions, 0 deletions