From patchwork Tue Mar 22 20:31:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 653521 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 p2MKmO02008974 for ; Tue, 22 Mar 2011 20:48:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755324Ab1CVUsX (ORCPT ); Tue, 22 Mar 2011 16:48:23 -0400 Received: from smtp-out2.tiscali.nl ([195.241.79.177]:41118 "EHLO smtp-out2.tiscali.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755305Ab1CVUsX (ORCPT ); Tue, 22 Mar 2011 16:48:23 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 22 Mar 2011 20:48:24 +0000 (UTC) X-Greylist: delayed 992 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Mar 2011 16:48:23 EDT Received: from [212.123.169.34] (helo=[192.168.1.102]) by smtp-out2.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Q28F4-0002b9-Or; Tue, 22 Mar 2011 21:31:50 +0100 Subject: [PATCH] Downgrade i8042 selftest error message to dbg() From: Paul Bolle To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 22 Mar 2011 21:31:48 +0100 Message-ID: <1300825908.20447.1.camel@x61.thuisdomein> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index ac4c936..d37a48e 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c @@ -869,15 +869,15 @@ static int i8042_controller_selftest(void) do { if (i8042_command(¶m, I8042_CMD_CTL_TEST)) { - pr_err("i8042 controller self test timeout\n"); + pr_err("i8042 controller selftest timeout\n"); return -ENODEV; } if (param == I8042_RET_CTL_TEST) return 0; - pr_err("i8042 controller selftest failed. (%#x != %#x)\n", - param, I8042_RET_CTL_TEST); + dbg("i8042 controller selftest: %#x != %#x\n", + param, I8042_RET_CTL_TEST); msleep(50); } while (i++ < 5); @@ -891,6 +891,7 @@ static int i8042_controller_selftest(void) pr_info("giving up on controller selftest, continuing anyway...\n"); return 0; #else + pr_err("i8042 controller selftest failed\n"); return -EIO; #endif }