diff mbox

[V2,4/10] omap: Reconnect hsmmc context loss count

Message ID 20100117013322.17308.19569.sendpatchset@ahunter-work.research.nokia.com
State Accepted
Commit 026ae9efa05fdc3cf6f2601e126e216d0d8a9020
Delegated to: Tony Lindgren
Headers show

Commit Message

Adrian Hunter Jan. 17, 2010, 1:33 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c
index 90bf8ce..2a88f49 100644
--- a/arch/arm/mach-omap2/hsmmc.c
+++ b/arch/arm/mach-omap2/hsmmc.c
@@ -16,6 +16,7 @@ 
 #include <mach/hardware.h>
 #include <plat/control.h>
 #include <plat/mmc.h>
+#include <plat/omap-pm.h>
 
 #include "hsmmc.h"
 
@@ -34,8 +35,7 @@  static struct hsmmc_controller {
 
 static int hsmmc_get_context_loss(struct device *dev)
 {
-	/* FIXME: PM DPS not implemented yet */
-	return 0;
+	return omap_pm_get_dev_context_loss_count(dev);
 }
 
 #else