[lkml]   [2018]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] gpiolib: Free the last requested descriptor
On Thu, Sep 13, 2018 at 3:37 PM Ricardo Ribalda Delgado
<> wrote:

> The current code only frees N-1 gpios if an error occurs during
> gpiod_set_transitory, gpiod_direction_output or gpiod_direction_input.
> Leading to gpios that cannot be used by userspace nor other drivers.
> Cc: Timur Tabi <>
> Cc:
> Fixes: ab3dbcf78f60f46d ("gpioib: do not free unrequested descriptors)
> Signed-off-by: Ricardo Ribalda Delgado <>

Patch applied for fixes with Jan's Reported-by tag.

Linus Walleij

 \ /
  Last update: 2018-09-14 10:57    [W:0.046 / U:6.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site