On Mon, Dec 14, 2015 at 1:46 PM, Johan Hovold <johan@xxxxxxxxxx> wrote: > Ok, but let's take a step back. So you have all this in place and a > consumer calls gpiod_get_value() that returns an errno because the device > is gone. Note that this wasn't even possible before e20538b82f1f ("gpio: > Propagate errors from chip->get()") that went into *v4.3*, and I assume > most drivers would need to be updated to even handle that that gpio > call, and all future calls, are now suddenly failing. I actually have a revert of that in my fixes queue. So another step back and two forward for v4.5 (hopefully): audit all drivers to respect this. Yours, Linus Walleij