]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit6bc07d6afa1679a2f5b272bc36618314686e143a
tree05aac803f94ca8cdbef98d5a56d42c3d805717c8
parent485802a6c524e62b5924849dd727ddbb1497cc71
ARM: OMAP: PM: Lock clocks list while generating summary

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