From: Liam Girdwood Date: Tue, 21 Sep 2010 16:34:09 +0000 (-0600) Subject: OMAP: hwmod: Fix omap_hwmod_reset wrong state test X-Git-Tag: v2.6.37-rc1~121^2~56^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b579114efc4bd00532de33c783b4cb4638910ff;p=pandora-kernel.git OMAP: hwmod: Fix omap_hwmod_reset wrong state test The reset function wrongly used the state flag as a bit mask and was trying to re-enable after a reset. hwmod is still enabled for the PRCM point of view after a softreset so there is no need to re-enable. Remove the state check from omap_hwmod_reset since the _reset function is checking that as well and in addition can generate a warning Signed-off-by: Liam Girdwood [b-cousson@ti.com: remove the wrong test, remove the re-enable] Signed-off-by: Benoit Cousson Signed-off-by: Paul Walmsley Tested-by: Kevin Hilman Cc: Rajendra Nayak --- Reading git-diff-tree failed