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
Reply to
Sören Brinkmann, 2015-02-04
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
Thread (10 messages) 10 messages, 4 authors, last reply 2015-02-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help