From: Adrian Hunter Subject: [PATCH V2 4/10] omap: Reconnect hsmmc context loss count Date: Sun, 17 Jan 2010 03:33:22 +0200 Message-ID: <20100117013322.17308.19569.sendpatchset@ahunter-work.research.nokia.com> References: <20100117013250.17308.17861.sendpatchset@ahunter-work.research.nokia.com> Return-path: In-Reply-To: <20100117013250.17308.17861.sendpatchset@ahunter-work.research.nokia.com> Sender: linux-mmc-owner@vger.kernel.org To: Tony Lindgren Cc: Adrian Hunter , Madhusudhan Chikkature , Paul Walmsley , linux-omap Mailing List , linux-mmc Mailing List , Andrew Morton List-Id: linux-omap@vger.kernel.org >From 3c112c3bb8c8457283862468574be9b0c18dc27e Mon Sep 17 00:00:00 2001 From: Adrian Hunter Date: Tue, 5 Jan 2010 10:06:58 +0200 Subject: [PATCH] omap: Reconnect hsmmc context loss count Call the PM context-loss count function, now that there is a prototype for it. Signed-off-by: Adrian Hunter --- arch/arm/mach-omap2/hsmmc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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 #include #include +#include #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 -- 1.6.0.4