Re: [PATCH] gpio sysfs: add a "toggle" value

From: Andrew Morton
Date: Thu Jun 04 2009 - 04:36:35 EST


On Thu, 4 Jun 2009 04:16:14 -0400 Mike Frysinger <vapier.adi@xxxxxxxxx> wrote:

> On Thu, Jun 4, 2009 at 03:54, Andrew Morton wrote:
> > On Wed, __3 Jun 2009 04:16:59 -0400 Mike Frysinger wrote:
> >> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
> >
> > -ENOCHANGELOGAGAIN
>
> it's pretty damned self explanatory

The implementation is simple, but the implementation doesn't tell us why
you believe this feature should be added to Linux.

Is it because doing it from userspace is too slow?

It is because doing it from userspace is racy? If so, isn't that
userspace already busted?

Isn't a userspace driver which doesn't already know the state of its
GPIO bits rather lame?

etc.


--
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/