arm: tegra: baseband: wake lock on both BB_RST_OUT pol
Frederic Bossy [Fri, 23 Mar 2012 22:05:19 +0000 (15:05 -0700)]
bug 947710

Change-Id: If06de72d3880055c219e5ded892bb8cf956d774a
Signed-off-by: Frederic Bossy <fbossy@nvidia.com>
Reviewed-on: http://git-master/r/92066
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

arch/arm/mach-tegra/board-enterprise-baseband.c

index 1463a06..7552e28 100644 (file)
@@ -106,10 +106,11 @@ static irqreturn_t mdm_start_thread(int irq, void *data)
                pr_info("BB_RST_OUT high\n");
        } else {
                pr_info("BB_RST_OUT low\n");
-               /* hold wait lock to complete the enumeration */
-               wake_lock_timeout(&mdm_wake_lock, HZ * 10);
        }
 
+       /* hold wait lock to complete the enumeration */
+       wake_lock_timeout(&mdm_wake_lock, HZ * 10);
+
        return IRQ_HANDLED;
 }