From: Guennadi Liakhovetski Date: Fri, 21 Jun 2013 07:10:35 +0000 (+0200) Subject: ARM: shmobile: r8a73a4: safeguard against wrong clk_set_rate() uses X-Git-Tag: v3.12-rc1~115^2~18^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1c3c959f2206dad0582876af2510aded4f9eac5;p=pandora-kernel.git ARM: shmobile: r8a73a4: safeguard against wrong clk_set_rate() uses clk_set_rate() should only be called with exact rates, returned by clk_round_rate(). However, it is still good to verify, that the value, passed to clock's .set_rate() method is at least valid. This patch adds such a check for the Z-clock on r8a73a4. Signed-off-by: Guennadi Liakhovetski Acked-by: Kuninori Morimoto Signed-off-by: Simon Horman --- Reading git-diff-tree failed