]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/clk/clk.c
clk: aggregate return codes of notify chains
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 21 Mar 2017 10:16:26 +0000 (12:16 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Wed, 12 Apr 2017 16:51:41 +0000 (18:51 +0200)
commit17c34c566795ca7529cf888fb33fdb7997d6b202
tree35998c887c1f7f508b2e5d36d737bba1244c380e
parent92031575c3e60c2f641aacf752bd7494d65e70f7
clk: aggregate return codes of notify chains

In case there are multiple notify chains for the same clocks (because they
were registered by different users), we need to propagate potential failure
of any single one of them to the caller. Otherwise we eg risk violating the
V/f curve when a notifier is used for DVFS.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/clk.c