Thread (12 messages) 12 messages, 4 authors, 2012-03-30
STALE5175d

[PATCH] ARM: OMAP: hwmod: Fix error handling in functions used OMAP4 onwards

From: paul@pwsan.com (Paul Walmsley)
Date: 2012-03-28 02:39:34
Also in: linux-omap

Hi Jon,

On Tue, 27 Mar 2012, Jon Hunter wrote:
On 3/27/2012 4:58, Rajendra Nayak wrote:
quoted
diff --git a/arch/arm/mach-omap2/omap_hwmod.c
b/arch/arm/mach-omap2/omap_hwmod.c
index 8ac26f2..f2a9afa 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -808,7 +808,7 @@ static void _enable_module(struct omap_hwmod *oh)
   */
  static int _omap4_wait_target_disable(struct omap_hwmod *oh)
  {
-	if (!cpu_is_omap44xx())
+	if (cpu_is_omap24xx() || cpu_is_omap34xx())
  		return 0;
What about omap36xx?
Unfortunately, cpu_is_omap34xx() also covers OMAP36xx :-(

- Paul
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help