[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cd73a99e0806040031s13e6b4a5ndc5fb3d931e1945f@mail.gmail.com>
Date: Wed, 4 Jun 2008 09:31:50 +0200
From: "Andrew Victor" <avictor.za@...il.com>
To: "Andrew Morton" <akpm@...ux-foundation.org>
Cc: wim@...ana.be, linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org
Subject: Re: AT91SAM9/CAP9 watchdog driver
hi Andrew,
>> + return 0;
>
> That looks like the wrong return value?
Since the watchdog registers are Write-Once, if the user does not
specify a "wdt_timeout" parameter we'd still like the driver to load
even if it's not enabled.
The user can then always use ioctl(WDIOC_SETTIMEOUT:) to set the timeout later.
Regards,
Andrew Victor
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists