lkml.org 
[lkml]   [2009]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gpio sysfs: add a "toggle" value
On Thu, 4 Jun 2009 04:16:14 -0400 Mike Frysinger <vapier.adi@gmail.com> 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@gentoo.org>
> >
> > -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.




\
 
 \ /
  Last update: 2009-06-04 10:39    [W:0.056 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site