Hello, On Fri, Nov 14, 2014 at 11:27:06PM +0100, Janusz Uzycki wrote: > Function gpiod_get_direction() of gpiolib calls get_direction() > callback. If chip doesn't implement it EINVAL error is returned. > The function doesn't use for returned value shadowed FLAG_IS_OUT > bit of gpio_desc.flags field so the callback is required. This sounds like a bugfix but "required" is wrong as AFAIR this call is optional and hardly used. Or did that change? The only drawback is that the debug output for (by Linux) uninitialized gpios is wrong. Also the grammar of you sentence isn't German enough to sound correct. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html