Re: [GPIO]implement sleeping GPIO chip removal

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Maciej Szmigiero
Date: Wednesday, November 10, 2010 - 2:01 pm

W dniu 10.11.2010 21:42, Thomas Gleixner pisze:

You misunderstood me.
By "looping in hope that somebody will finally release the chip" I meant the only
real way to handle a GPIO chip unplugging in the current kernel.
Which is way worse that preventing new requests, then waiting for existing one to be released.
And this is exactly what my patch does.

I understand that it could be simplified by removing redundant code (as Grant Likely had suggested before), and
moving it to completion interface instead of manipulating a task structure directly, but this doesn't mean
that the whole GPIO code has to be rewritten just to add one functionality.

Best regards,
Maciej Szmigiero







--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GPIO]implement sleeping GPIO chip removal, Maciej Szmigiero, (Sun Nov 7, 11:30 am)
Re: [GPIO]implement sleeping GPIO chip removal, Grant Likely, (Tue Nov 9, 10:09 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Thomas Gleixner, (Wed Nov 10, 2:49 am)
Re: [GPIO]implement sleeping GPIO chip removal, Maciej Szmigiero, (Wed Nov 10, 8:28 am)
Re: [GPIO]implement sleeping GPIO chip removal, Thomas Gleixner, (Wed Nov 10, 1:42 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Maciej Szmigiero, (Wed Nov 10, 2:01 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Thomas Gleixner, (Wed Nov 10, 2:07 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Grant Likely, (Wed Nov 10, 2:15 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Grant Likely, (Wed Nov 10, 3:14 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Greg KH, (Wed Nov 10, 3:45 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Thomas Gleixner, (Wed Nov 10, 3:47 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Paul Mundt, (Wed Nov 10, 4:15 pm)
Re: [GPIO]implement sleeping GPIO chip removal, Maciej Szmigiero, (Fri Nov 12, 1:46 pm)