From: sashiko-bot@kernel.org
To: "Johan Dahlin" <jdahlin@gmail.com>
Cc: linux-hwmon@vger.kernel.org
Subject: Re: [PATCH 1/5] hwmon: (nct6683) Retry pwm writes until they take effect
Date: Tue, 25 Aug 2026 09:34:36 +0000 [thread overview]
Message-ID: <20260825093437.16E931F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260825092546.669450-2-jdahlin@gmail.com>
> store_pwm() waits a fixed 1-2 ms for the EC to hand over the fan
> configuration registers before writing. That delay dates back to
> commit 91918d13eb17 ("hwmon: (nct6683) Add basic support for NCT6683 on
> Mitac boards") and, pwm being read-only elsewhere, has never been
> exercised against other firmware.
>
> It is too short for at least one of them: on an ASRock B850 Steel Legend
> WiFi (NCT6686D), two of six consecutive pwm writes were silently discarded,
> leaving the fan on its previous setting.
>
> Read the value back and repeat the sequence when it did not stick, waiting
> longer each time and reporting -EIO if it never does. Raising the delay for
> everyone would penalise boards that work today, while a write that succeeds
> first time issues the same register sequence as before.
>
> Signed-off-by: Johan Dahlin <jdahlin@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260825092546.669450-1-jdahlin@gmail.com?part=1
next prev parent reply other threads:[~2026-08-25 9:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 9:25 [PATCH 0/5] hwmon: (nct6683) Fan control for ASRock B850 Steel Legend WiFi Johan Dahlin
2026-08-25 9:25 ` [PATCH 1/5] hwmon: (nct6683) Retry pwm writes until they take effect Johan Dahlin
2026-08-25 9:34 ` sashiko-bot [this message]
2026-08-25 9:25 ` [PATCH 2/5] hwmon: (nct6683) Add customer ID for ASRock B850 Steel Legend WiFi Johan Dahlin
2026-08-25 9:28 ` sashiko-bot
2026-08-25 9:25 ` [PATCH 3/5] hwmon: (nct6683) Add pwm[1-8]_enable Johan Dahlin
2026-08-25 9:44 ` sashiko-bot
2026-08-28 16:17 ` Guenter Roeck
2026-08-25 9:25 ` [PATCH 4/5] hwmon: (nct6683) Restore fan control mode on driver removal Johan Dahlin
2026-08-25 9:33 ` sashiko-bot
2026-08-25 9:25 ` [PATCH 5/5] hwmon: (nct6683) Enable pwm control on ASRock B850 Steel Legend WiFi Johan Dahlin
2026-08-25 9:38 ` sashiko-bot
2026-09-17 17:35 ` Fabio Baltieri
2026-09-17 20:03 ` 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=20260825093437.16E931F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=jdahlin@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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.