commit | 1fe741139be5acfe3758b53cdbf0b5e3d26db3fe | [log] [tgz] |
---|---|---|
author | Benoit Cousson <b-cousson@ti.com> | Fri Jul 01 22:54:03 2011 +0200 |
committer | Paul Walmsley <paul@pwsan.com> | Sat Jul 09 19:13:36 2011 -0600 |
tree | 2bb01d2a56a64b2c7b8ce20b4b38a7aaa3418354 | |
parent | 6481c73c22613660a5b791d2b4d0faf60508d731 [diff] |
OMAP2+: hwmod: Do not write the enawakeup bit if SYSC_HAS_ENAWAKEUP is not set The Type 2 type of IPs will not have any enawakeup bit in their sysconfig. Writing to that bit will instead trigger a softreset. Check the flag to write this bit only if the module supports it. Reported-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>