Skip to content

hwmon: (pmbus/core) Add lock and unlock functions

Eddie James linux-hwmon lkml 2 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- No whitespace change in cffps patch.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2hwmon: (pmbus/core) Add lock and unlock functionsdrivers/hwmon/pmbus/pmbus.h drivers/hwmon/pmbus/pmbus_core.c+32 -01 reply
2/2hwmon: (pmbus/ibm-cffps) Use default debugfs attributes and lock functiondrivers/hwmon/pmbus/ibm-cffps.c+118 -1541 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] hwmon: (pmbus/core) Add lock and unlock functions

Debugfs operations may set the page number, which must be done atomically with the subsequent i2c operation. Lock the update_lock in the debugfs functions and provide a function for pmbus drivers to lock and unlock the update_lock.
Use the new lock/unlock functions in the ibm-cffps driver and make some additional improvements.

Changes since v1:
- No whitespace change in cffps patch.

Eddie James (2):
hwmon: (pmbus/core) Add lock and unlock functions
hwmon: (pmbus/ibm-cffps) Use default debugfs attributes and lock
function

 drivers/hwmon/pmbus/ibm-cffps.c  | 272 ++++++++++++++-----------------
 drivers/hwmon/pmbus/pmbus.h      |   2 +
 drivers/hwmon/pmbus/pmbus_core.c |  30 ++++
 3 files changed, 150 insertions(+), 154 deletions(-)
Signature · 1 line
2.31.1