From: Thierry Reding <thierry.reding@gmail.com>
To: Gottfried Haider <gottfried.haider@gmail.com>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>,
linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rpi-kernel@lists.infradead.org
Subject: Re: [RESEND][PATCH] pwm: Set class for exported channels in sysfs
Date: Tue, 5 Dec 2017 09:27:42 +0100 [thread overview]
Message-ID: <20171205082742.GA7174@ulmo> (raw)
In-Reply-To: <1496397921-1713-1-git-send-email-gottfried.haider@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]
On Fri, Jun 02, 2017 at 10:05:21AM +0000, Gottfried Haider wrote:
> 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@gmail.com>
> CC: Thierry Reding <thierry.reding@gmail.com>
> CC: H Hartley Sweeten <hsweeten@visionengravers.com>
> CC: linux-pwm@vger.kernel.org
> CC: linux-arm-kernel@lists.infradead.org
> CC: linux-rpi-kernel@lists.infradead.org
> ---
> drivers/pwm/sysfs.c | 1 +
> 1 file changed, 1 insertion(+)
Sorry for the long delay, applied to for-next now.
Thanks,
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: thierry.reding@gmail.com (Thierry Reding)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND][PATCH] pwm: Set class for exported channels in sysfs
Date: Tue, 5 Dec 2017 09:27:42 +0100 [thread overview]
Message-ID: <20171205082742.GA7174@ulmo> (raw)
In-Reply-To: <1496397921-1713-1-git-send-email-gottfried.haider@gmail.com>
On Fri, Jun 02, 2017 at 10:05:21AM +0000, Gottfried Haider wrote:
> 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@gmail.com>
> CC: Thierry Reding <thierry.reding@gmail.com>
> CC: H Hartley Sweeten <hsweeten@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
> ---
> drivers/pwm/sysfs.c | 1 +
> 1 file changed, 1 insertion(+)
Sorry for the long delay, applied to for-next now.
Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171205/5ba41b60/attachment-0001.sig>
next prev parent reply other threads:[~2017-12-05 8:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 10:05 [RESEND][PATCH] pwm: Set class for exported channels in sysfs Gottfried Haider
2017-06-02 10:05 ` Gottfried Haider
2017-12-05 8:27 ` Thierry Reding [this message]
2017-12-05 8:27 ` Thierry Reding
-- strict thread matches above, loose matches on Subject: below --
2017-09-26 11:59 gohai
2017-09-26 11:59 ` gohai at sukzessiv.net
[not found] ` <20170926115951.GA29367-SJMGYJWzoarE6SqAqhcbZQ@public.gmane.org>
2017-10-12 17:33 ` Stefan Wahren
2017-10-12 17:33 ` Stefan Wahren
2018-03-30 12:40 ` Fabrice Gasnier
2018-03-30 12:40 ` Fabrice Gasnier
2018-05-19 11:50 ` Stefan Wahren
2018-05-19 11:50 ` Stefan Wahren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171205082742.GA7174@ulmo \
--to=thierry.reding@gmail.com \
--cc=gottfried.haider@gmail.com \
--cc=hsweeten@visionengravers.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.