]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP4: hwmod: flag hwmods/modules not supporting module level context status
authorTero Kristo <t-kristo@ti.com>
Sun, 23 Sep 2012 23:28:20 +0000 (17:28 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:20 +0000 (17:28 -0600)
commit7e0a6484d968bdf7d1da848095b9a07604fb7aba
tree7f0e36e424c196bc9a7a14a773560d587fa3e3a8
parent4e9235c281f015d2b4cf660475fb845bb123e7f5
ARM: OMAP4: hwmod: flag hwmods/modules not supporting module level context status

On OMAP4 most modules/hwmods support module level context status. On
OMAP3 and earlier, we relied on the power domain level context status.
Identify all modules that don't support 'context_offs' by adding a
flag bit, HWMOD_OMAP4_NO_CONTEXT_LOSS_BIT.  Rest have a valid
'context_offs' populated in .prcm structure already.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
[paul@pwsan.com: add flag bit rather than overloading .context_offs;
 update changelog message]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/plat-omap/include/plat/omap_hwmod.h