Messages in this thread | | | Date | Wed, 23 Jul 2014 17:38:15 +0200 | Subject | Re: [PATCH 2/5] gpio: simplify gpiochip_export() | From | Linus Walleij <> |
| |
On Tue, Jul 22, 2014 at 9:17 AM, Alexandre Courbot <acourbot@nvidia.com> wrote:
> For some reason gpiochip_export() would invalidate all the descriptors > of a chip if exporting it to sysfs failed. This does not appear as > necessary. Remove that part of the code. > > While we are at it, add a note about the non-safety of temporarily > releasing a spinlock in the middle of the loop that protects its > iterator, and explain why this is done. > > Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Patch applied.
Yours, Linus Walleij
| |