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

From: Laxman Dewangan
Date: Mon May 14 2012 - 13:09:08 EST


Grant,

On Monday 07 May 2012 03:55 PM, Laxman Dewangan 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 allocating bit 4 and 5 for the
flag EXPORT/EXPORT_CHANGEABLE.

Signed-off-by: Laxman Dewangan<ldewangan@xxxxxxxxxx>
---
This is broken by commit
commit fc3a1f04f5040255cbc086c419e4237f29f89f88
Author: Wolfram Sang<w.sang@xxxxxxxxxxxxxx>

gpio: add flags to export GPIOs when requesting

It would be good if it go to 3.5.

Thanks,
Laxman

--
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/