Skip to content

hwmon: (pmbus/adm1275) Protect writes to PMON_CONFIG

Guenter Roeck linux-hwmon 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hwmon: (pmbus/adm1275) Prepare for protected write to PMON_CONFIGdrivers/hwmon/pmbus/adm1275.c+31 -250 replies
2/2hwmon: (pmbus/adm1275) Disable ADC while updating PMON_CONFIGdrivers/hwmon/pmbus/adm1275.c+17 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFT PATCH 0/2] hwmon: (pmbus/adm1275) Protect writes to PMON_CONFIG

According to ADI, changing PMON_CONFIG while ADC is running can have unexpected results. ADI recommends halting the ADC with PMON_CONTROL before setting PMON_CONFIG and then resume after.

The first patch of the series cleans up the code to prepare for the functional change. The second patch implements stopping the ADC while writing into PMON_CONFIG.

This series depends on patch 'hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272' submitted earlier at
https://patchwork.kernel.org/project/linux-hwmon/patch/[email protected]/