From: Ben Dooks Date: Mon, 18 Jan 2010 06:37:25 +0000 (+0900) Subject: ARM: SAMSUNG: Fix clksrc-clk's checks for bad register settings X-Git-Tag: v2.6.34-rc2~66^2~54^2~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3b464cca94c4a8f54fbc11ec5af8b143fd1750b;p=pandora-kernel.git ARM: SAMSUNG: Fix clksrc-clk's checks for bad register settings The WARN_ON() was only checking the first clock in the array, instead of being executed for each clksrc clock being registered. Since this is an array of clocks, WARN_ON() does not provide a lot of useful information about the problem, so change to using printk(KERN_ERR) to report the problem to the console. As a note, we still try and register the clock even if these problems are present just in case and to avoid changing the behaviour of the registration process. Signed-off-by: Ben Dooks --- Reading git-diff-tree failed