From: Kuninori Morimoto Date: Mon, 18 Oct 2010 03:50:29 +0000 (+0000) Subject: sh: clkfwk: modify for_each_frequency end condition X-Git-Tag: v2.6.37-rc1~136^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2590f4a8ddf461d33ac2085d966432b2a6a09f2;p=pandora-kernel.git sh: clkfwk: modify for_each_frequency end condition The end condition of for_each_frequency should care about both clk_rate_table_round and clk_rate_div_range_round, and using "correct max size" is a natural idea in later function. To avoid data over flow, this patch didn't modify clk_rate_div_range_round side as .max = div_max + 1. Signed-off-by: Kuninori Morimoto Signed-off-by: Paul Mundt --- Reading git-diff-tree failed