ARM: OMAP: hwmod code: Disable module when hwmod enable fails
authorMisael Lopez Cruz <misael.lopez@ti.com>
Mon, 3 Sep 2012 17:50:52 +0000 (11:50 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 3 Sep 2012 17:50:52 +0000 (11:50 -0600)
commit471a009b6db7670299a8674cd7fb2557c8c2797f
treec88cef0f4a45807e824f6d42c97e561d77141f94
parented733619d85262439f625cc9d8b00cdaae761070
ARM: OMAP: hwmod code: Disable module when hwmod enable fails

Clock and module mode are explictly enable when hwmod is enabled. But if
the hwmod doesn't get ready on time, clocks are disabled but module is left
enabled.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c