Re: [RFC PATCH] gpiolib: make gpiod_direction_output take a logicalvalue, add gpiod_direction_output_raw

From: Linus Walleij
Date: Fri Feb 07 2014 - 03:48:25 EST


On Tue, Jan 7, 2014 at 12:34 PM, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote:

> The documentation was not clear about whether gpio_direction_output should take
> a logical value or the physical level on the output line, i.e. whether the
> ACTIVE_LOW status would be taken into account.
> This converts gpiod_direction_output to use the logical level and adds a new
> gpiod_direction_output_raw for the raw value.
>
> Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

OK we have consensus on this, patch applied for v3.15 with Alexandre's Review
tag.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/