Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 01:58:19PM +0200, Thierry Reding wrote: > On Mon, Oct 05, 2020 at 01:17:38PM +0200, Greg Kroah-Hartman wrote: > > On Mon, Oct 05, 2020 at 01:08:19PM +0200, Thierry Reding wrote: > > > On Mon, Oct 05, 2020 at 12:40:23PM +0200, Greg Kroah-Hartman wrote: > > > > On Mon, Oct

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Thierry Reding
On Mon, Oct 05, 2020 at 01:17:38PM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 05, 2020 at 01:08:19PM +0200, Thierry Reding wrote: > > On Mon, Oct 05, 2020 at 12:40:23PM +0200, Greg Kroah-Hartman wrote: > > > On Mon, Oct 05, 2020 at 12:17:21PM +0200, Thierry Reding wrote: > > > > On Mon, Oct

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 01:08:19PM +0200, Thierry Reding wrote: > On Mon, Oct 05, 2020 at 12:40:23PM +0200, Greg Kroah-Hartman wrote: > > On Mon, Oct 05, 2020 at 12:17:21PM +0200, Thierry Reding wrote: > > > On Mon, Oct 05, 2020 at 11:45:30AM +0200, Greg Kroah-Hartman wrote: > > > > On Mon, Oct

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Thierry Reding
On Mon, Oct 05, 2020 at 12:40:23PM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 05, 2020 at 12:17:21PM +0200, Thierry Reding wrote: > > On Mon, Oct 05, 2020 at 11:45:30AM +0200, Greg Kroah-Hartman wrote: > > > On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > > > > On Thu, Oct

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Lars Poeschel
On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > > Hello, > > > > >

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 12:17:21PM +0200, Thierry Reding wrote: > On Mon, Oct 05, 2020 at 11:45:30AM +0200, Greg Kroah-Hartman wrote: > > On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > > > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > > > On Thu, Oct

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Thierry Reding
On Mon, Oct 05, 2020 at 11:45:30AM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > > > On Wed, Sep 30,

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > > Hello, > > > > >

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Thierry Reding
On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > Hello, > > > > > > I added Greg Kroah-Hartman who I discussed this with via irc a bit to

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-02 Thread Greg Kroah-Hartman
On Thu, Oct 01, 2020 at 03:50:09PM +0200, Lars Poeschel wrote: > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > > Hello, > > > > >

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-01 Thread Lars Poeschel
On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > Hello, > > > > > > I added Greg Kroah-Hartman who I discussed this with via irc a bit to

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-01 Thread Greg Kroah-Hartman
On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > Hello, > > > > I added Greg Kroah-Hartman who I discussed this with via irc a bit to > > Cc:. > > > > On Wed, Sep 30, 2020 at 11:20:56AM +0200, Lars Poeschel

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-01 Thread Lars Poeschel
On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > Hello, > > I added Greg Kroah-Hartman who I discussed this with via irc a bit to > Cc:. > > On Wed, Sep 30, 2020 at 11:20:56AM +0200, Lars Poeschel wrote: > > thank you for your review! > > > > On Wed, Sep 30, 2020 at

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 05:03:02PM +0200, Uwe Kleine-König wrote: > On Wed, Sep 30, 2020 at 04:13:52PM +0200, Lars Poeschel wrote: > > On Wed, Sep 30, 2020 at 01:51:06PM +0200, Greg Kroah-Hartman wrote: > > > On Wed, Sep 30, 2020 at 01:27:20PM +0200, Lars Poeschel wrote: > > > > On Wed, Sep 30,

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Uwe Kleine-König
On Wed, Sep 30, 2020 at 04:13:52PM +0200, Lars Poeschel wrote: > On Wed, Sep 30, 2020 at 01:51:06PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 01:27:20PM +0200, Lars Poeschel wrote: > > > On Wed, Sep 30, 2020 at 12:52:38PM +0200, Greg Kroah-Hartman wrote: > > > > On Wed, Sep 30,

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Lars Poeschel
On Wed, Sep 30, 2020 at 01:51:06PM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 01:27:20PM +0200, Lars Poeschel wrote: > > On Wed, Sep 30, 2020 at 12:52:38PM +0200, Greg Kroah-Hartman wrote: > > > On Wed, Sep 30, 2020 at 12:01:26PM +0200, Uwe Kleine-König wrote: > > > > On Wed, Sep

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 01:27:20PM +0200, Lars Poeschel wrote: > On Wed, Sep 30, 2020 at 12:52:38PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 12:01:26PM +0200, Uwe Kleine-König wrote: > > > On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > > > > On Wed, Sep

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Lars Poeschel
On Wed, Sep 30, 2020 at 12:52:38PM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 12:01:26PM +0200, Uwe Kleine-König wrote: > > On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > > Hello, > >

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 12:01:26PM +0200, Uwe Kleine-König wrote: > On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > Hello, > > > > > > I added Greg Kroah-Hartman who I discussed this with via irc a bit

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Uwe Kleine-König
On Wed, Sep 30, 2020 at 11:52:04AM +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > Hello, > > > > I added Greg Kroah-Hartman who I discussed this with via irc a bit to > > Cc:. > > > > On Wed, Sep 30, 2020 at 11:20:56AM +0200, Lars

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > Hello, > > I added Greg Kroah-Hartman who I discussed this with via irc a bit to > Cc:. > > On Wed, Sep 30, 2020 at 11:20:56AM +0200, Lars Poeschel wrote: > > thank you for your review! > > > > On Wed, Sep 30, 2020 at

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Uwe Kleine-König
Hello, I added Greg Kroah-Hartman who I discussed this with via irc a bit to Cc:. On Wed, Sep 30, 2020 at 11:20:56AM +0200, Lars Poeschel wrote: > thank you for your review! > > On Wed, Sep 30, 2020 at 08:57:26AM +0200, Uwe Kleine-König wrote: > > On Tue, Sep 29, 2020 at 02:19:53PM +0200,

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Lars Poeschel
Hi Uwe, thank you for your review! On Wed, Sep 30, 2020 at 08:57:26AM +0200, Uwe Kleine-König wrote: > Hello Lars, > > On Tue, Sep 29, 2020 at 02:19:53PM +0200, poesc...@lemonage.de wrote: > > From: Lars Poeschel > > > > This adds a class to exported pwm devices. > > Exporting a pwm through

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-09-30 Thread Uwe Kleine-König
Hello Lars, On Tue, Sep 29, 2020 at 02:19:53PM +0200, poesc...@lemonage.de wrote: > From: Lars Poeschel > > This adds a class to exported pwm devices. > Exporting a pwm through sysfs did not yield udev events. The I wonder what is your use-case here. This for sure also has a place to be

[PATCH] pwm: sysfs: Set class on pwm devices

2020-09-29 Thread poeschel
From: Lars Poeschel This adds a class to exported pwm devices. Exporting a pwm through sysfs did not yield udev events. The dev_uevent_filter function does filter-out devices without a bus or class. This was already addressed in commit commit 7e5d1fd75c3d ("pwm: Set class for exported channels