[RESEND][PATCH] pwm: Set class for exported channels in sysfs
Stefan Wahren
stefan.wahren at i2se.com
Thu Oct 12 10:33:50 PDT 2017
> gohai at sukzessiv.net hat am 26. September 2017 um 13:59 geschrieben:
>
>
> Notifications for devices without bus or class set get dropped by
> dev_uevent_filter. Adding the class to the exported child matches
> what the gpio subsystem is doing.
>
> With this change exporting a channel triggers a udev event, which
> gives userspace a chance to fixup permissions and makes it possible
> for non-root users to make use of the pwm subsystem.
>
> Signed-off-by: Gottfried Haider <gottfried.haider at gmail.com>
> CC: Thierry Reding <thierry.reding at gmail.com>
> CC: H Hartley Sweeten <hsweeten at visionengravers.com>
> CC: linux-pwm at vger.kernel.org
> CC: linux-arm-kernel at lists.infradead.org
> CC: linux-rpi-kernel at lists.infradead.org
gentle ping ...
More information about the linux-arm-kernel
mailing list