]> 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)
commit184c53f268f33d656c42fe5212c14fca7df4a145
tree05aac803f94ca8cdbef98d5a56d42c3d805717c8
parent5ab1957f53a60ff3aa128f8a2f2ca9c7de85d169
ARM: OMAP: PM: Lock clocks list while generating summary

Commit b29948f9eb5e2420411763a32d2177d56fdbe6ba (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