From patchwork Thu Feb 10 10:40:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 546011 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1AAfCHu016302 for ; Thu, 10 Feb 2011 10:41:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756127Ab1BJKlA (ORCPT ); Thu, 10 Feb 2011 05:41:00 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:52996 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756124Ab1BJKk6 (ORCPT ); Thu, 10 Feb 2011 05:40:58 -0500 Received: by mail-bw0-f46.google.com with SMTP id 15so1947000bwz.19 for ; Thu, 10 Feb 2011 02:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=U2lSTzHeTDns/IRoL6SyfOqyPx26G9Y5xV1WYWrY6nU=; b=OEzZxpGaMdGufBniepgBix2iwSK2T+/D3fCoVtEd5aTYy8oA/NkhG7ErmCNTjiWpqb cbwe/6D3qJ17XzfCGI0dhFLObCkinf5ePkVsPkN7ivFbomOGBnnvwKW3eHS12NnYLdeC Bv2izhWq8OGEaSOWeSpE9J068xdKKGeS2Z294= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NYAdJCCrxbfQdJT9WcDvj7+Efwj1rWJS48/o4JeOWQwqFBccI6qZceRS38uWPT9B61 uAE+v6KQTz0yhxnqW19fuWT2AdgGw1z7Z230vr+IHWrYSaw/gdlStONX48k0XSLRN+vU E1jieHk6cVAWV1nXo06S2ICLnkH6lVsGBzM80= MIME-Version: 1.0 Received: by 10.204.61.199 with SMTP id u7mr1795987bkh.6.1297334457218; Thu, 10 Feb 2011 02:40:57 -0800 (PST) Received: by 10.204.75.70 with HTTP; Thu, 10 Feb 2011 02:40:57 -0800 (PST) Date: Thu, 10 Feb 2011 10:40:57 +0000 Message-ID: Subject: [PATCH 2/2] dw_mmc: Enable low-power mode for the card clock. From: Will Newton To: linux-mmc@vger.kernel.org, Chris Ball Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 10 Feb 2011 10:41:12 +0000 (UTC) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 0b0bedd..4cf560d 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -562,7 +562,8 @@ static void dw_mci_setup_bus(struct dw_mci_slot *slot) SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0); /* enable clock */ - mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE); + mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE | + SDMMC_CLKEN_LOW_PWR); /* inform CIU */ mci_send_cmd(slot,