[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080604192458.02f76022@core>
Date: Wed, 4 Jun 2008 19:24:58 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: "Andrew Victor" <avictor.za@...il.com>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>, wim@...ana.be,
linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org
Subject: Re: AT91SAM9/CAP9 watchdog driver
> The issue above is rather that probe() should not fail if
> at91_wdt_settimeout() returns -EINVAL, since we'd like the
> driver/module to still load to allow the user to later specify a valid
> timeout via ioctl(WDIOC_SETTIMEOUT).
Every other watchdog behaves as follows
- If you specify a bogus value it doesn't load
- If you specify no value you get a valid default
- If you specify a valid value you get that
I don't believe yours should be different.
Alan
--
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