Thread (10 messages) 10 messages, 4 authors, 2015-02-05

Re: [PATCH v4] gpio: lib-sysfs: Add 'wakeup' attribute

From: Johan Hovold <hidden>
Date: 2015-02-05 10:33:05
Also in: linux-gpio, lkml

On Wed, Feb 04, 2015 at 10:27:15AM -0800, Sören Brinkmann wrote:
On Wed, 2015-02-04 at 10:19AM +0100, Linus Walleij wrote:
quoted
What needs to happen (IMHO) is to make gpio_chips properly obeying
the device model, and then add the attributes for fiddling around with
GPIOs to either the *real* device or create a new char device interface.
Whatever works best. These mock devices are fragile and never
worked properly especially in the removal path as Johans recent
fixes has shown.
Sure, that would be a nice long-term solution. But until then this patch
would probably be welcomed by some people, without making the brokenness
of this interface much worse.
We don't knowingly add broken functionality, and especially not when it
will become ABI that needs to be maintained forever.

And "this might be useful for someone at some point" is certainly not a
reason to break that rule.

Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help