Re: [PATCH RESEND] gpio: fix bits conflict for gpio flags

From: Linus Walleij
Date: Wed Jun 20 2012 - 05:10:12 EST


On Wed, Jun 20, 2012 at 10:44 AM, Laxman Dewangan <ldewangan@xxxxxxxxxx> wrote:

> The bit 2 and 3 in GPIO flag are allocated for the
> flag OPEN_DRAIN/OPEN_SOURCE. These bits are reused
> for the flag EXPORT/EXPORT_CHANGEABLE and so creating
> conflict.
> Fix this conflict by assigning bit 4 and 5 for the
> flag EXPORT/EXPORT_CHANGEABLE.
>
> Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
This should be Cc: to stable as well I think.

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/