From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tero Kristo Subject: [PATCHv9 18/18] TEMP: OMAP device: change pr_warnings to pr_debugs Date: Fri, 23 Sep 2011 15:46:26 +0300 Message-ID: <1316781986-30642-19-git-send-email-t-kristo@ti.com> References: <1316781986-30642-1-git-send-email-t-kristo@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:52678 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754154Ab1IWMsq convert rfc822-to-8bit (ORCPT ); Fri, 23 Sep 2011 08:48:46 -0400 Content-Class: urn:content-classes:message In-Reply-To: <1316781986-30642-1-git-send-email-t-kristo@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Govindraj.R" Prevents a hang when omap_device would want to print something for serial console device while enabling / disabling its clocks. Should be handled properly by serial runtime PM support. Signed-off-by: Tero Kristo Cc: Govindraj.R --- arch/arm/plat-omap/omap_device.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index d8f2299..ecec0cc 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/plat-omap/omap_device.c @@ -154,7 +154,7 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat) "%d: %llu\n", od->pm_lat_level, act_lat); } else - dev_warn(&od->pdev->dev, + dev_dbg(&od->pdev->dev, "activate latency %d " "higher than exptected. (%llu > %d)\n", od->pm_lat_level, act_lat, @@ -221,7 +221,7 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat) "%d: %llu\n", od->pm_lat_level, deact_lat); } else - dev_warn(&od->pdev->dev, + dev_dbg(&od->pdev->dev, "deactivate latency %d " "higher than exptected. (%llu > %d)\n", od->pm_lat_level, deact_lat, -- 1.7.4.1 Texas Instruments Oy, Tekniikantie 12, 02150 Espoo. Y-tunnus: 0115040-6. Kotipaikka: Helsinki