From: Benoit Cousson Date: Fri, 1 Jul 2011 20:54:03 +0000 (+0200) Subject: OMAP2+: hwmod: Do not write the enawakeup bit if SYSC_HAS_ENAWAKEUP is not set X-Git-Tag: v3.1-rc1~248^2~1^4^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fe741139be5acfe3758b53cdbf0b5e3d26db3fe;p=pandora-kernel.git 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 Signed-off-by: Benoit Cousson Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed