From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754298Ab1LAHaK (ORCPT ); Thu, 1 Dec 2011 02:30:10 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:16996 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753253Ab1LAHaH convert rfc822-to-8bit (ORCPT ); Thu, 1 Dec 2011 02:30:07 -0500 X-AuditID: cbfee61b-b7bdbae000001970-03-4ed72ceafaf1 From: Kukjin Kim To: "'Thomas Abraham'" , "'Dmitry Artamonow'" Cc: "'Wim Van Sebroeck'" , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "'Ben Dooks'" , linux-watchdog@vger.kernel.org References: <1321433173-17757-1-git-send-email-mad_soft@inbox.ru> In-reply-to: Subject: RE: [PATCH] watchdog: fix initialisation printout in s3c2410_wdt Date: Thu, 01 Dec 2011 16:29:46 +0900 Message-id: <045d01ccaffb$00710240$015306c0$%kim@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT X-Mailer: Microsoft Office Outlook 12.0 Thread-index: AcykSz7MMhgHZ1/9QJewnUU10yi8pQLqi/HA Content-language: ko X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thomas Abraham wrote: > > On 16 November 2011 14:16, Dmitry Artamonow wrote: > > Looks like a typo creeped in, and driver prints > > s3c2410-wdt s3c2410-wdt: watchdog active, reset abled, irq abled > > > > instead of > > s3c2410-wdt s3c2410-wdt: watchdog active, reset enabled, irq enabled > > > > Also it may completely disinform about irq status, as it prints > > "irq enabled" when S3C2410_WTCON_INTEN is in fact 0. > > > > Fix it. > > > > Signed-off-by: Dmitry Artamonow > > --- > > > > It seems to be here for a long time, but I don't think it's > > important enough for cc-ing stable. > > > > Also I haven't tested it, as I don't have a hardware, but it's > > rather trivial (and yes, I checked with datasheet that 1 in > > S3C2410_WTCON_*EN bits really means 'enabled') > > > > Tested on Exynos4210 based Origen board. This patch fixed in incorrect > "irq enabled" message at bootup. Thanks for this fix. > > Tested-by: Thomas Abraham > Acked-by: Kukjin Kim Hi Wim, Please pick this up in your tree and if any problem, let me know. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. > >  drivers/watchdog/s3c2410_wdt.c |    4 ++-- > >  1 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/watchdog/s3c2410_wdt.c > b/drivers/watchdog/s3c2410_wdt.c > > index 5de7e4f..a79e384 100644 > > --- a/drivers/watchdog/s3c2410_wdt.c > > +++ b/drivers/watchdog/s3c2410_wdt.c > > @@ -401,8 +401,8 @@ static int __devinit s3c2410wdt_probe(struct > platform_device *pdev) > > > >        dev_info(dev, "watchdog %sactive, reset %sabled, irq %sabled\n", > >                 (wtcon & S3C2410_WTCON_ENABLE) ?  "" : "in", > > -                (wtcon & S3C2410_WTCON_RSTEN) ? "" : "dis", > > -                (wtcon & S3C2410_WTCON_INTEN) ? "" : "en"); > > +                (wtcon & S3C2410_WTCON_RSTEN) ? "en" : "dis", > > +                (wtcon & S3C2410_WTCON_INTEN) ? "en" : "dis"); > > > >        return 0; > > > > -- > > 1.7.5.1.300.gc565c