diff mbox

OMAP HSMMC problems with off-mode

Message ID alpine.DEB.2.00.1012071548490.13430@utopia.booyaka.com (mailing list archive)
State Superseded
Delegated to: Kevin Hilman
Headers show

Commit Message

Paul Walmsley Dec. 7, 2010, 10:56 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c
index e129ce8..781aa5f 100644
--- a/arch/arm/plat-omap/omap-pm-noop.c
+++ b/arch/arm/plat-omap/omap-pm-noop.c
@@ -30,6 +30,8 @@  struct omap_opp *dsp_opps;
 struct omap_opp *mpu_opps;
 struct omap_opp *l3_opps;
 
+static int dummy_context_loss_counter;
+
 /*
  * Device-driver-originated constraints (via board-*.c files)
  */
@@ -303,7 +305,7 @@  int omap_pm_get_dev_context_loss_count(struct device *dev)
 	 * off counter.
 	 */
 
-	return 0;
+	return dummy_context_loss_counter++;
 }