ARM: OMAP2+: hwmod: Move hard deassert call after module enable
authorVaibhav Hiremath <hvaibhav@ti.com>
Tue, 12 Jun 2012 14:43:22 +0000 (20:13 +0530)
committerVishveshwar Bhat <vishveshwar.bhat@ti.com>
Thu, 14 Jun 2012 05:21:04 +0000 (10:51 +0530)
commit904da023b8859e94b47a400ea33f7eabe8640c6f
treeea73a7e16ff693de428f62de17a660ea01594383
parent0ce2c81a5d8d4e72dc7e8b9c958b2996e8e059b2
ARM: OMAP2+: hwmod: Move hard deassert call after module enable

It is observed that, if hardreset is deasserted without module
enable, then module goes into unstable state, reset status bit
doesn't get set properly.

Also, as per Design spec, module hardreset should be deasserted
after module enable, which brings in the module in stable state
and reset activity happens properly.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
arch/arm/mach-omap2/omap_hwmod.c