diff options
Diffstat (limited to 'target/linux/ipq806x/patches/0104-clk-qcom-Return-highest-rate-when-round_rate-exceeds.patch')
-rw-r--r-- | target/linux/ipq806x/patches/0104-clk-qcom-Return-highest-rate-when-round_rate-exceeds.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/ipq806x/patches/0104-clk-qcom-Return-highest-rate-when-round_rate-exceeds.patch b/target/linux/ipq806x/patches/0104-clk-qcom-Return-highest-rate-when-round_rate-exceeds.patch deleted file mode 100644 index 3312f2fc65..0000000000 --- a/target/linux/ipq806x/patches/0104-clk-qcom-Return-highest-rate-when-round_rate-exceeds.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 6417bb8469eb495d7f4e4b6b0ac08cbc1b8606cb Mon Sep 17 00:00:00 2001 -From: Stephen Boyd <sboyd@codeaurora.org> -Date: Fri, 16 May 2014 16:07:10 -0700 -Subject: [PATCH 104/182] clk: qcom: Return highest rate when round_rate() - exceeds plan - -Some drivers may want to call clk_set_rate() with a very large -number to force the clock to go as fast as it possibly can -without having to know the range between the highest rate and -second highest rate. Add support for this by defaulting to the -highest rate in the frequency table if we can't find a frequency -greater than what is requested. - -Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> -Signed-off-by: Mike Turquette <mturquette@linaro.org> ---- - drivers/clk/qcom/clk-rcg2.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/drivers/clk/qcom/clk-rcg2.c -+++ b/drivers/clk/qcom/clk-rcg2.c -@@ -181,7 +181,8 @@ struct freq_tbl *find_freq(const struct - if (rate <= f->freq) - return f; - -- return NULL; -+ /* Default to our fastest rate */ -+ return f - 1; - } - - static long _freq_tbl_determine_rate(struct clk_hw *hw, |