From patchwork Wed Jan 13 11:40:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 72607 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 o0DBetX4025088 for ; Wed, 13 Jan 2010 11:40:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755593Ab0AMLkx (ORCPT ); Wed, 13 Jan 2010 06:40:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755556Ab0AMLkx (ORCPT ); Wed, 13 Jan 2010 06:40:53 -0500 Received: from smtp.nokia.com ([192.100.122.233]:51166 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753384Ab0AMLkw (ORCPT ); Wed, 13 Jan 2010 06:40:52 -0500 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0DBeVwQ016098; Wed, 13 Jan 2010 13:40:42 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 13:40:38 +0200 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Jan 2010 13:40:38 +0200 Received: from ahunter-work.research.nokia.com (esdhcp040224.research.nokia.com [172.21.40.224]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o0DBeXCh002734; Wed, 13 Jan 2010 13:40:33 +0200 From: Adrian Hunter To: Tony Lindgren Cc: linux-mmc Mailing List , Adrian Hunter , Andrew Morton , linux-omap Mailing List , Madhusudhan Chikkature Date: Wed, 13 Jan 2010 13:40:33 +0200 Message-Id: <20100113114033.7615.13060.sendpatchset@ahunter-work.research.nokia.com> In-Reply-To: <20100113114010.7615.84920.sendpatchset@ahunter-work.research.nokia.com> References: <20100113114010.7615.84920.sendpatchset@ahunter-work.research.nokia.com> Subject: [PATCH 3/8] OMAP: reconnect hsmmc context loss count X-OriginalArrivalTime: 13 Jan 2010 11:40:38.0558 (UTC) FILETIME=[3A51E3E0:01CA9445] 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 1d5f2f0..76a1f6c 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "hsmmc.h" @@ -29,8 +30,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