From: Tomeu Vizoso Date: Fri, 6 Feb 2015 14:13:01 +0000 (+0100) Subject: clk: Only recalculate the rate if needed X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec02ace8ca0a50eef430d3676de5c5fa978b0e29;p=pandora-kernel.git 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 Cc: Peter De Schrijver Signed-off-by: Tomeu Vizoso Signed-off-by: Michael Turquette --- Reading git-diff-tree failed