[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090604020501.cdeb8f10.akpm@linux-foundation.org>
Date: Thu, 4 Jun 2009 02:05:01 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Mike Frysinger <vapier.adi@...il.com>
Cc: David Brownell <david-b@...bell.net>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio sysfs: add a "toggle" value
On Thu, 4 Jun 2009 04:52:35 -0400 Mike Frysinger <vapier.adi@...il.com> wrote:
> my next request was for a 1 letter command set and chaining
> operations. say you want to toggle a gpio line 4 times, having to go
> between kernel and userspace for that seems kind of heavy.
> echo TTTT > value
I was wondering whether "t" would be better than "toggle".
If you're going to do that, wouldn't you need a "d"(elay) too? To
prevent large variations in interval between different platforms. 1
millisec, perhaps.
0d1dd0d1ddd0d1, too.
This could be fun.
--
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