summaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2013-04-02 23:09:38 +0200
committerMike Turquette <mturquette@linaro.org>2013-04-08 18:19:32 -0700
commit031dcc9bd4164a7482b89987d5b9ecb3af5e9033 (patch)
treeacab66af5c502cd7ad651de07356e33d3ad36b3b /lib/parser.c
parentb33d212f4910ca44bd37d5e08422230687bd1378 (diff)
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 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions