From: Tabrez Ahmed <tabreztalks@gmail.com>
To: linux@roeck-us.net
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
shuah@kernel.org, me@brighamcampbell.com,
Tabrez Ahmed <tabreztalks@gmail.com>
Subject: [PATCH v2 0/2] hwmon: (ads7871) Modernize and fix DMA safety
Date: Sun, 29 Mar 2026 13:03:50 +0530 [thread overview]
Message-ID: <20260329073352.270451-1-tabreztalks@gmail.com> (raw)
This series modernizes the ads7871 driver by migrating it to the
hwmon_device_register_with_info API and fixes a DMA safety issue.
v2:
Dropped custom mutex in favor of native hwmon core serialization.
Split API migration and DMA fix into separate, logical patches.
Corrected output scaling and sign extension to meet hwmon standards.
Compile-tested only due to lack of hardware
Signed-off-by: Tabrez Ahmed <tabreztalks@gmail.com>
Tabrez Ahmed (2):
hwmon: (ads7871) Convert to hwmon_device_register_with_info
hwmon: (ads7871) Use DMA-safe buffer for SPI writes
drivers/hwmon/ads7871.c | 110 ++++++++++++++++++++++------------------
1 file changed, 62 insertions(+), 48 deletions(-)
--
2.43.0
next reply other threads:[~2026-03-29 7:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-29 7:33 Tabrez Ahmed [this message]
2026-03-29 7:33 ` [PATCH v2 1/2] hwmon: (ads7871) Convert to hwmon_device_register_with_info Tabrez Ahmed
2026-03-29 15:01 ` Guenter Roeck
2026-03-29 7:33 ` [PATCH v2 2/2] hwmon: (ads7871) Use DMA-safe buffer for SPI writes Tabrez Ahmed
2026-03-29 14:52 ` 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=20260329073352.270451-1-tabreztalks@gmail.com \
--to=tabreztalks@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=me@brighamcampbell.com \
--cc=shuah@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox