Re: Fw: [3.18.3] poll() on gpio pins broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 9, 2015 at 9:22 PM, Michael Welling <mwelling@xxxxxxxx> wrote:
> On Mon, Mar 09, 2015 at 04:52:26PM +0100, Linus Walleij wrote:

>> Whoever comes up with a cleaner sysfs or a clean device interface
>> will win the argument and lock the path for the other approach.
>> It's like a forking path with no going back or something.
>
> There is no need to fork and in fact it would probably be a bad idea.

For the record I am *NOT* talking about this:
https://en.wikipedia.org/wiki/Fork_%28software_development%29

> At EMAC we support both sysfs and character device simultaneously.
> Sysfs for the ease of use and ioctl for real time advantages.

What is EMAC?

> Not saying that it is a good reference but the two interfaces "could" co-exist.

Hm....

I would more think about deprecating the sysfs in favor of the dev
node.

But this is getting terribly academic since we're just talking, noone is
really implementing anything.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux