From patchwork Mon Feb 14 17:26:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 556101 X-Patchwork-Delegate: khilman@deeprootsystems.com 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 p1EGNpre009029 for ; Mon, 14 Feb 2011 16:23:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755962Ab1BNQXt (ORCPT ); Mon, 14 Feb 2011 11:23:49 -0500 Received: from smtp.nokia.com ([147.243.1.48]:35756 "EHLO mgw-sa02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753452Ab1BNQXt (ORCPT ); Mon, 14 Feb 2011 11:23:49 -0500 Received: from sokoban.nmp.nokia.com (sokoban.nmp.nokia.com [172.22.215.13]) by mgw-sa02.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p1EGNlk8022321 for ; Mon, 14 Feb 2011 18:23:47 +0200 From: Tero Kristo To: linux-omap@vger.kernel.org Subject: [PATCH] omap: dmtimer: Enable autoidle Date: Mon, 14 Feb 2011 19:26:15 +0200 Message-Id: <1297704375-25873-1-git-send-email-tero.kristo@nokia.com> X-Mailer: git-send-email 1.7.1 X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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]); Mon, 14 Feb 2011 16:23:51 +0000 (UTC) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index 1d706cf..949becc 100644 --- a/arch/arm/plat-omap/dmtimer.c +++ b/arch/arm/plat-omap/dmtimer.c @@ -341,6 +341,7 @@ static void omap_dm_timer_reset(struct omap_dm_timer *timer) l = omap_dm_timer_read_reg(timer, OMAP_TIMER_OCP_CFG_REG); l |= 0x02 << 3; /* Set to smart-idle mode */ l |= 0x2 << 8; /* Set clock activity to perserve f-clock on idle */ + l |= 0x1 << 0; /* Set autoidle */ /* * Enable wake-up on OMAP2 CPUs.