On Thu, May 10, 2012 at 06:05:28PM -0700, H Hartley Sweeten wrote:
> Currently the sysfs device attributes are created by the comedi
> core after each comedi device is created. This can lead to a race
> condition where userspace gets an add event before the files are
> created.
> 
> Register the device attributes with the comedi class so that the
> driver core handles creating them and we avoid the race.

Nice job, thanks for making this change.

greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to