ARM: OMAP: PM: Lock clocks list while generating summary
Commit a5302572 (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: NTodd Poynor <toddpoynor@google.com> [nm@ti.com: added commit message] Signed-off-by: NNishanth Menon <nm@ti.com> [paul@pwsan.com: minor edits to commit message] Signed-off-by: NPaul Walmsley <paul@pwsan.com>
Showing
想要评论请 注册 或 登录