]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP3: PM: USBHOST: clear wakeup events on both hosts
authorVikram Pandita <vikram.pandita@ti.com>
Sat, 18 Jul 2009 00:33:09 +0000 (19:33 -0500)
committerKevin Hilman <khilman@deeprootsystems.com>
Mon, 5 Oct 2009 17:51:00 +0000 (10:51 -0700)
commitb33cf7b14342d508d4b3d0effba3adff14e3aae0
treeed71b75cb126d30b077c3b937347f5a363ae639b
parentda3bb4b715734da7b5fccb9d724253f7ab1d14d2
OMAP3: PM: USBHOST: clear wakeup events on both hosts

USBHOST module has 2 fclocks (for HOST1 and HOST2), only one iclock
and only a single bit in the WKST register to indicate a wakeup event.

Because of the single WKST bit, we cannot know whether a wakeup event
was on HOST1 or HOST2, so enable both fclocks before clearing the
wakeup event to ensure both hosts can properly clear the event.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm34xx.c