From patchwork Fri Jan 28 03:57:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Salveti de Araujo X-Patchwork-Id: 513711 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 p0S3vl9s031512 for ; Fri, 28 Jan 2011 03:57:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754684Ab1A1D5q (ORCPT ); Thu, 27 Jan 2011 22:57:46 -0500 Received: from adelie.canonical.com ([91.189.90.139]:41597 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754656Ab1A1D5p (ORCPT ); Thu, 27 Jan 2011 22:57:45 -0500 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PifSy-0003HV-O0; Fri, 28 Jan 2011 03:57:44 +0000 Received: from [201.82.64.149] (helo=localhost.localdomain) by hutte.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PifSy-0001uX-2c; Fri, 28 Jan 2011 03:57:44 +0000 From: Ricardo Salveti de Araujo To: linux-omap@vger.kernel.org Cc: Ricardo Salveti de Araujo Subject: [PATCH] OMAP3630: PM: don't warn the user with a trace in case of PM34XX_ERRATUM Date: Fri, 28 Jan 2011 01:57:33 -0200 Message-Id: <1296187053-22186-1-git-send-email-ricardo.salveti@canonical.com> X-Mailer: git-send-email 1.7.2.3 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]); Fri, 28 Jan 2011 03:57:47 +0000 (UTC) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index f7b22a1..abb9be0 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c @@ -464,7 +464,7 @@ void omap_init_power_states(void) if (IS_PM34XX_ERRATUM(PM_SDRC_WAKEUP_ERRATUM_i583)) { omap3_power_states[OMAP3_STATE_C7].valid = 0; cpuidle_params_table[OMAP3_STATE_C7].valid = 0; - WARN_ONCE(1, "%s: core off state C7 disabled due to i583\n", + printk(KERN_WARNING "%s: core off state C7 disabled due to i583\n", __func__); } } diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index a4aa192..983b543 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -927,7 +927,7 @@ void omap3_pm_off_mode_enable(int enable) pwrst->pwrdm == core_pwrdm && state == PWRDM_POWER_OFF) { pwrst->next_state = PWRDM_POWER_RET; - WARN_ONCE(1, + printk(KERN_WARNING "%s: Core OFF disabled due to errata i583\n", __func__); } else {