aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-18 15:37:25 +0900
committerBen Dooks <ben-linux@fluff.org>2010-01-18 15:37:25 +0900
commitf3b464cca94c4a8f54fbc11ec5af8b143fd1750b (patch)
tree8bc976f445c0bfdc85336eadb84e1c06279e3736 /tools/perf/scripts/python
parentARM: SAMSUNG: Add check to ensure that clksrc_clk does have multiple clock so... (diff)
downloadlinux-f3b464cca94c4a8f54fbc11ec5af8b143fd1750b.tar.gz
linux-f3b464cca94c4a8f54fbc11ec5af8b143fd1750b.zip
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 <ben-linux@fluff.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions