public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: (ads7871) Modernize and fix DMA safety
@ 2026-03-29  7:33 Tabrez Ahmed
  2026-03-29  7:33 ` [PATCH v2 1/2] hwmon: (ads7871) Convert to hwmon_device_register_with_info Tabrez Ahmed
  2026-03-29  7:33 ` [PATCH v2 2/2] hwmon: (ads7871) Use DMA-safe buffer for SPI writes Tabrez Ahmed
  0 siblings, 2 replies; 5+ messages in thread
From: Tabrez Ahmed @ 2026-03-29  7:33 UTC (permalink / raw)
  To: linux; +Cc: linux-hwmon, linux-kernel, shuah, me, Tabrez Ahmed

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-29 15:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-29  7:33 [PATCH v2 0/2] hwmon: (ads7871) Modernize and fix DMA safety Tabrez Ahmed
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox