Re: [PATCH] gpio/sysfs: Add ID parameter for GPIO lines

2016-02-15 Thread Linus Walleij
On Thu, Dec 17, 2015 at 5:48 PM, Ricardo Ribalda Delgado wrote: > On named GPIOs there is currently no find out their numerical id. > > Because of this, a GPIO pin named like: > /sys/class/gpio/PROG_B > > cannot be unexported by an application different than the one that > exported it. > > This p

Re: [PATCH] gpio/sysfs: Add ID parameter for GPIO lines

2016-02-07 Thread Alexandre Courbot
On Tue, Jan 26, 2016 at 7:25 PM, Ricardo Ribalda Delgado wrote: > Hello! > > Any comment on this? Oops, sorry for the delay... > > > Thanks! > > On Thu, Dec 17, 2015 at 5:48 PM, Ricardo Ribalda Delgado > wrote: >> On named GPIOs there is currently no find out their numerical id. >> >> Because o

Re: [PATCH] gpio/sysfs: Add ID parameter for GPIO lines

2016-01-26 Thread Ricardo Ribalda Delgado
Hello! Any comment on this? Thanks! On Thu, Dec 17, 2015 at 5:48 PM, Ricardo Ribalda Delgado wrote: > On named GPIOs there is currently no find out their numerical id. > > Because of this, a GPIO pin named like: > /sys/class/gpio/PROG_B > > cannot be unexported by an application different than

[PATCH] gpio/sysfs: Add ID parameter for GPIO lines

2015-12-17 Thread Ricardo Ribalda Delgado
On named GPIOs there is currently no find out their numerical id. Because of this, a GPIO pin named like: /sys/class/gpio/PROG_B cannot be unexported by an application different than the one that exported it. This patch adds a new parameter to the GPIO line called id, that shows the numerical id