[PATCH v2 0/2] hwmon: (ads7871) Modernize and fix DMA safety

Tabrez Ahmed posted 2 patches 4 days, 3 hours ago
drivers/hwmon/ads7871.c | 110 ++++++++++++++++++++++------------------
1 file changed, 62 insertions(+), 48 deletions(-)
[PATCH v2 0/2] hwmon: (ads7871) Modernize and fix DMA safety
Posted by Tabrez Ahmed 4 days, 3 hours ago
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