OMAP: hwmod: avoid writing enwkup for a non SYSC_HAS_ENAWAKEUP module
authorMiguel Vadillo <vadillo@ti.com>
Fri, 17 Jun 2011 15:08:21 +0000 (10:08 -0500)
committerCris Jansson <cjansson@ti.com>
Mon, 22 Aug 2011 23:14:58 +0000 (18:14 -0500)
commit3e2afeb2267517d98f62716516f181da0ab32da8
tree38184c4e62f170f5999636debe3a2aef8752c491
parent75bd008732e8e0834a262a5a321dd2e2c86f4caa
OMAP: hwmod: avoid writing enwkup for a non SYSC_HAS_ENAWAKEUP module

Modules with sysconfig type2 does not have enable wakeup bit,
check SYSC_HAS_ENAWAKEUP before writing to it.

Acked-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
arch/arm/mach-omap2/omap_hwmod.c