Linux LED subsystem development
 help / color / mirror / Atom feed
From: Carlo Szelinsky <github@szelinsky.de>
To: Kory Maincent <kory.maincent@bootlin.com>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
	Jonas Jelonek <jelonek.jonas@gmail.com>,
	Ross Cawston <ross@r-sc.ca>,
	netdev@vger.kernel.org, linux-leds@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v6 1/2] net: pse-pd: add pse_poll_helper()
Date: Wed,  2 Dec 2026 18:35:27 +0100	[thread overview]
Message-ID: <20261202173527.207388-1-github@szelinsky.de> (raw)
In-Reply-To: <c35babda-b225-49bf-a3d5-fb352b7fd26c@bootlin.com>

Hi Kory,

On Mon, 30 Nov 2026 16:25, Kory Maincent wrote:
> Can you write the commit message manually and don't use LLM that only
> explain the code and not the why.

Acknowledged.

> This comment seems a bit useless.

Agreed, I'll drop it.

> Could you make this comment human readable with only a few words?

Will do.

> You can rather say that the irq value is not used in case of polling.

OK.

> I would prefer here to use an internal sub structure with its content
> not accessible from the drivers.

Makes sense. poll_interval_ms is the only field a driver sets, so I
would make it a pse_poll_helper() argument and hide the rest. Is that
ok for you?

> I am glad to see this development and have tested it on a new project
> that does not have the interruption line wired. So you have saved some
> of my time. Thank you!

Thanks for testing! Happy to add your Tested-by if you try v7.

Carlo

  reply	other threads:[~2026-12-02 17:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 12:15 [PATCH net-next v6 0/2] net: pse-pd: add poll path and LED trigger support Carlo Szelinsky
2026-11-28 12:15 ` [PATCH net-next v6 1/2] net: pse-pd: add pse_poll_helper() Carlo Szelinsky
2026-11-30 15:25   ` Kory Maincent
2026-12-02 17:35     ` Carlo Szelinsky [this message]
2026-12-02 17:46       ` Kory Maincent
2026-11-28 12:15 ` [PATCH net-next v6 2/2] net: pse-pd: add LED trigger support via notification path Carlo Szelinsky
2026-11-29 12:15   ` sashiko-bot
2026-12-02 17:36     ` Carlo Szelinsky
2026-11-30 16:31   ` Kory Maincent
2026-12-02 17:36     ` Carlo Szelinsky
2026-12-02 17:54       ` Kory Maincent
2026-11-29 12:16 ` [PATCH net-next v6 0/2] net: pse-pd: add poll path and LED trigger support sashiko-bot

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=20261202173527.207388-1-github@szelinsky.de \
    --to=github@szelinsky.de \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=jelonek.jonas@gmail.com \
    --cc=kory.maincent@bootlin.com \
    --cc=kuba@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=o.rempel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=pavel@kernel.org \
    --cc=ross@r-sc.ca \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox