linux/arch/arm/mach-omap2
Liam Girdwood 9b579114ef 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 <lrg@slimlogic.co.uk>
[b-cousson@ti.com: remove the wrong test, remove the re-enable]
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Rajendra Nayak <rnayak@ti.com>
2010-09-21 15:11:02 -06:00
..
2010-08-04 14:43:18 +03:00
2010-06-16 18:03:14 +02:00
2010-08-16 09:21:19 +03:00
2010-08-02 13:18:05 +03:00
2010-08-04 15:50:20 +03:00
2010-07-05 16:31:36 +03:00
2010-07-05 16:31:36 +03:00
2010-07-05 16:31:36 +03:00
2010-07-05 16:31:36 +03:00
2010-08-02 14:23:07 +03:00
2010-07-05 16:31:36 +03:00
2010-07-05 16:31:40 +03:00
2010-06-16 18:03:15 +02:00
2010-07-05 16:31:40 +03:00
2010-07-05 16:31:40 +03:00