From patchwork Sun Jan 17 01:33:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 73456 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0H1Xbde022478 for ; Sun, 17 Jan 2010 01:33:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753242Ab0AQBdg (ORCPT ); Sat, 16 Jan 2010 20:33:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753257Ab0AQBdg (ORCPT ); Sat, 16 Jan 2010 20:33:36 -0500 Received: from smtp.nokia.com ([192.100.122.233]:58001 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239Ab0AQBdf (ORCPT ); Sat, 16 Jan 2010 20:33:35 -0500 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0H1XP75013853; Sun, 17 Jan 2010 03:33:25 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 17 Jan 2010 03:33:24 +0200 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sun, 17 Jan 2010 03:33:24 +0200 Received: from ahunter-work.research.nokia.com (essapo-nirac25346.europe.nokia.com [10.162.253.46]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0H1XMtC003260; Sun, 17 Jan 2010 03:33:22 +0200 From: Adrian Hunter To: Tony Lindgren Cc: Adrian Hunter , Madhusudhan Chikkature , Paul Walmsley , linux-omap Mailing List , linux-mmc Mailing List , Andrew Morton Date: Sun, 17 Jan 2010 03:33:22 +0200 Message-Id: <20100117013322.17308.19569.sendpatchset@ahunter-work.research.nokia.com> In-Reply-To: <20100117013250.17308.17861.sendpatchset@ahunter-work.research.nokia.com> References: <20100117013250.17308.17861.sendpatchset@ahunter-work.research.nokia.com> Subject: [PATCH V2 4/10] omap: Reconnect hsmmc context loss count X-OriginalArrivalTime: 17 Jan 2010 01:33:24.0209 (UTC) FILETIME=[0F686E10:01CA9715] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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