ARM: OMAP2420: hwmod data/PM: use hwmod to block WFI when I2C active
authorPaul Walmsley <paul@pwsan.com>
Sun, 30 Dec 2012 17:31:52 +0000 (10:31 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 6 Feb 2013 20:48:14 +0000 (13:48 -0700)
commit1e3d8fe771881de323396aaa1efd20243fa974cb
tree807c1087c8fbe7c9ebad721d1fabb40147613f16
parentdb27c0c0d05cafc0eb0bed4d58daea65ed5e6839
ARM: OMAP2420: hwmod data/PM: use hwmod to block WFI when I2C active

Use the HWMOD_BLOCK_WFI flag in the hwmod data to prevent the MPU from
entering WFI when the I2C devices are active.  No idea why this is needed;
this could certainly bear further investigation if anyone is interested.
The objective here is to remove some custom code from the OMAP24xx PM
code.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/pm24xx.c