OMAP24xx: CM: fix mask used for checking IDLEST status
authorKevin Hilman <khilman@deeprootsystems.com>
Mon, 26 Jul 2010 22:34:28 +0000 (16:34 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 26 Jul 2010 22:34:28 +0000 (16:34 -0600)
commit6405616754f70a11c5410b321495fcd61e70b240
tree97c0b4e0ab00e753f7e5fa444091b28dc5ce1e4a
parentfb2fc9204f8ce060d239ab41f09cf6fc6de5ad4b
OMAP24xx: CM: fix mask used for checking IDLEST status

On OMAP24xx, the polarity for the IDLEST bits is opposite of OMAP3.
The mask used to check this was using the bit position instead of the
bit mask.

This patch fixes the problem by using the bit mask instead of the bit
field.

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