I noticed that pwm/sysfs.c doesn't seem to notify user space after a
channel has been exported through the sysfs interface. This does e.g.
happen with gpio/gpiolib-sysfs.c, and allows udev to jump in and
change permissions of newly exported PWM channels. (This seems racy,
but I believe this is the best way to do it right now..)

Before I start familiarizing myself with the linux driver model: would
you be open to changing the current behavior?

(I believe device_create_with_groups() vs device_create() &
device_register() is what's causing this, but I don't yet know the
implications of using one over the other.)

Thanks
Gottfried
--
To unsubscribe from this list: send the line "unsubscribe linux-pwm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to