aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2015-02-06 14:13:01 +0000
committerMichael Turquette <[email protected]>2015-02-20 03:29:19 +0000
commitec02ace8ca0a50eef430d3676de5c5fa978b0e29 (patch)
tree144c997964757068bc27ecdbd7c02ce9611e12b7 /lib/flex_array.c
parentRevert "clk: mxs: Fix invalid 32-bit access to frac registers" (diff)
downloadkernel-ec02ace8ca0a50eef430d3676de5c5fa978b0e29.tar.gz
kernel-ec02ace8ca0a50eef430d3676de5c5fa978b0e29.zip
clk: Only recalculate the rate if needed
We don't really need to recalculate the effective rate of a clock when a per-user clock is removed, if the constraints of the later aren't limiting the requested rate. This was causing problems with clocks that never had a rate set before, as rate_req would be zero. Though this could be considered a bug in the implementation of those clocks, this should be checked somewhere else. Fixes: 1c8e600440c7 ("clk: Add rate constraints to clocks") Cc: Thierry Reding <[email protected]> Cc: Peter De Schrijver <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Signed-off-by: Michael Turquette <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions