From: Kevin Hilman Date: Wed, 22 Dec 2010 04:31:55 +0000 (-0700) Subject: OMAP2+: powerdomain: add API to get context loss count X-Git-Tag: v2.6.38-rc1~469^2~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f595674e08b8b4d3faf64a19bccc95445d7ed35;p=pandora-kernel.git OMAP2+: powerdomain: add API to get context loss count Add new powerdomain API u32 pwrdm_get_context_loss_count(struct powerdomain *pwrdm) for checking how many times the powerdomain has lost context. The loss count is the sum of the powerdomain off-mode counter, the logic off counter and the per-bank memory off counter. Signed-off-by: Kevin Hilman [paul@pwsan.com: removed bogus return value on error; improved kerneldoc; tweaked commit message] Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed