Re: [PATCH v2] gpiolib: allow poll(2) on gpio value

From: David Brownell
Date: Thu Jul 02 2009 - 14:57:48 EST


On Thursday 02 July 2009, Jani Nikula wrote:
> > Looks pretty clean.  Comments from anyone else?
>
> I'd appreciate a kernel side interface to gpio_setup_irq functionality
> as well; now gpio_export from kernel won't setup support for poll(2)
> nor is there any possibility to do so.

I don't understand what you mean by this... there's no
file descriptor open at that time, so there's no poll()
that could be done.

And kernel-side functionality can just use existing
interfaces to do whatever it likes...

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/