Messages in this thread | | | Date | Tue, 11 Sep 2012 13:00:21 +0200 | From | Wim Van Sebroeck <> | Subject | Re: [PATCH v2] watchdog/imx2+: add support for pretimeout interrupt functionality |
| |
Hi Oskar,
> This watchdog device provides pretimeout facilities: > Set some timeout value and get informed about imminent > watchdog activity thru interrupt. > > Allow user to wait for this interrupt thru poll(2), > and to clear it thru read(2). > > Signed-off-by: Oskar Schirmer <oskar@scara.com> > Cc: Wim Van Sebroeck <wim@iguana.be> > Cc: Wolfram Sang <w.sang@pengutronix.de> > Cc: Sascha Hauer <kernel@pengutronix.de> > Cc: Andrew Morton <akpm@linux-foundation.org>
I have a problem with the read and poll. We had "read()" in the past so we have a possible issue here (different function but userspace apps could still use the old read)... Can you explain what the read and poll does and where you want to use it.
Kind regards, Wim.
| |