Am Dienstag, den 07.01.2014, 19:39 +0900 schrieb Alexandre Courbot:
> On Tue, Jan 7, 2014 at 7:07 PM, Philipp Zabel <[email protected]> wrote:
> > This corrects the gpiod_direction_output description comment
> > and adds clarification about the value parameter being a raw
> > value, not taking into account ACTIVE_LOW status.
> 
> Mmm, that's something I must have missed. I'd say
> gpiod_direction_output() should on the contrary honor the ACTIVE_LOW
> flag, and maybe we should also have gpiod_direction_output_raw() to
> allow control of the raw value?

As I just stumbled over this misinterpreting the gpiod_direction_output
value, I'd lean towards yes. Should then gpio_direction_store and
gpio_request_one use gpiod_direction_output_raw?

regards
Philipp

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to