ARM: OMAP2+: hwmod: add support for blocking WFI when a device is active
authorPaul Walmsley <paul@pwsan.com>
Sat, 26 Jan 2013 07:48:56 +0000 (00:48 -0700)
committerPaul Walmsley <paul@pwsan.com>
Sat, 26 Jan 2013 08:42:33 +0000 (01:42 -0700)
commitfa2002223e12c6b1bc96381b70c376afe4e01d80
tree5daf5c6c001d616157c19b559ca62d9fcb4727ab
parentdd1e4223544412c0f0a39da70462f9f8374ef98d
ARM: OMAP2+: hwmod: add support for blocking WFI when a device is active

Apparently, on some OMAPs, the MPU can't be allowed to enter WFI while
certain peripherals are active.  It's not clear why, and it's likely
that there is simply some other bug in the driver or integration code.
But since the likelihood that anyone will have the time to track these
problems down in the future seems quite small, we'll provide a
flag, HWMOD_BLOCK_WFI, to mark these issues in the hwmod data.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.h