[PATCH RESEND 3/5 v6] gpiolib: Fix default attributes for class

Grant Likely grant.likely at secretlab.ca
Wed Oct 31 11:04:55 EDT 2012


On Sun, Oct 28, 2012 at 9:46 PM, Roland Stigge <stigge at 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 at antcom.de>

This looks right, but I need to test it....

g.



More information about the linux-arm-kernel mailing list