Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Tomasz Bojanowski" <tomasz@bojanowski.me>
Cc: linux-hwmon@vger.kernel.org
Subject: Re: [PATCH] hwmon: (nct6683) Return -EBUSY if a fan curve is no longer supported
Date: Sun, 29 Nov 2026 17:45:34 +0000	[thread overview]
Message-ID: <sashiko-outbox-239848@kernel.org> (raw)
In-Reply-To: <20261129174305.813063-1-tomasz@bojanowski.me>

> Before writing a point of a fan curve, the driver checks that it still
> supports the curve which is set in the EC. If it does not, nothing is
> written, so this is not an I/O error. Return -EBUSY instead of -EIO.
> 
> Writing pwmN_auto_channels_temp already returns -EBUSY if its check of the
> current temperature source fails.
> 
> -EIO is still returned if the EC does not take the new curve. Document
> both, and that the check includes whether the curve sets a duty cycle.
> 
> Compile tested.
> 
> Signed-off-by: Tomasz Bojanowski <tomasz@bojanowski.me>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261129174305.813063-1-tomasz@bojanowski.me?part=1

  reply	other threads:[~2026-11-29 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 17:43 [PATCH] hwmon: (nct6683) Return -EBUSY if a fan curve is no longer supported Tomasz Bojanowski
2026-11-29 17:45 ` sashiko-bot [this message]
2026-11-29 18:25 ` Guenter Roeck

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=sashiko-outbox-239848@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=tomasz@bojanowski.me \
    /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