Re: [PATCH] gpio: gpiolib: fix conflicting flag values
From: Laxman Dewangan
Date: Fri Jun 22 2012 - 07:52:59 EST
On Friday 22 June 2012 05:18 PM, Alexandre Courbot wrote:
Commits aca5ce14 and 25553ff0 introduced two new GPIOF_OPEN_DRAIN and
GPIOF_OPEN_SOURCE flags to gpiolib. Unfortunately they happen to be the
same as GPIOF_EXPORT and GPIOF_EXPORT_CHANGEABLE, which causes all gpios
exported at request time to end up open drain and/or open source.
Resolve the conflict by affecting free flags to GPIOF_EXPORT and
GPIOF_EXPORT_CHANGEABLE.
Signed-off-by: Alexandre Courbot<acourbot@xxxxxxxxxx>
Reviewed-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
Yes, I have sent similar patch in past.
[PATCH RESEND] gpio: fix bits conflict for gpio flags
Linus W has also Acked it and CCed to stable.
--
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/