Messages in this thread | | | From | Grant Likely <> | Date | Wed, 31 Oct 2012 16:04:55 +0100 | Subject | Re: [PATCH RESEND 3/5 v6] gpiolib: Fix default attributes for class |
| |
On Sun, Oct 28, 2012 at 9:46 PM, Roland Stigge <stigge@antcom.de> wrote: > There is a race condition between creating a gpio or gpiochip device and adding > default attributes. This patch fixes this by defining the default attributes as > dev_attrs of the class. For this, it was necessary to create a separate > gpiochip_class besides gpio_class. > > Signed-off-by: Roland Stigge <stigge@antcom.de>
This looks right, but I need to test it....
g.
| |