]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: PM: Lock clocks list while generating summary
authorTodd Poynor <toddpoynor@google.com>
Sun, 17 Jun 2012 17:57:50 +0000 (11:57 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 17 Jun 2012 17:57:50 +0000 (11:57 -0600)
commit58d11e083cd1d400db1c3c4d8d54baa27be4495f
tree05aac803f94ca8cdbef98d5a56d42c3d805717c8
parentbdf4fdb7039ded51d12494acc2f7784e940b8b0d
ARM: OMAP: PM: Lock clocks list while generating summary

Commit 4d4266f7061206beb3615d22caf12af6abacc0c1 (OMAP: Add debugfs
node to show the summary of all clocks) introduced clock summary,
however, we are interested in seeing snapshot of the clock state, not
in dynamically changing clock configurations as the data provided by
clock summary will then be useless for debugging configuration
issues. So, hold the common lock when dumping the clock summary.

Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
[nm@ti.com: added commit message]
Signed-off-by: Nishanth Menon <nm@ti.com>
[paul@pwsan.com: minor edits to commit message]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c