OMAP3: PM: fix IO daisy chain enable to use PM_WKEN reg
authorKevin Hilman <khilman@deeprootsystems.com>
Thu, 3 Jun 2010 17:13:22 +0000 (17:13 +0000)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Jun 2010 12:06:27 +0000 (15:06 +0300)
Checking to se if the IO daisy chain is enabled should be checking the
PM_WKEN register, not the PM_WKST register.  Reading PM_WKST tells us
if an event occurred, not whether or not it is enabled.

Apparently, we've been lucky until now in that a pending event has not
been there during enable.  However, on 3630/Zoom3, I noticed because
of the WARN that this timeout was always happening.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found