Fabio Estevam <feste...@gmail.com> writes:

> Why do you set it to zero independently of the GPIO active level flag?
I don't.

Please have a look at gpiod_direction_output() first, especially :
        if (test_bit(FLAG_ACTIVE_LOW, &desc->flags))

> ,which correctly puts the GPIO output to the correct initial level
> depending on the active level flag.
Same here.

Cheers.

-- 
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to