]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pmbus) add a function to check the presence of a block register
authorAdam Wujek <dev_public@wujek.eu>
Wed, 1 Jun 2022 01:33:03 +0000 (01:33 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:19 +0000 (08:38 -0700)
commit75a5b1d9286e5af9f7a0873d077ff94d8e0973ca
tree599153b78b95a2fe45aa44780b8a63961150c3dc
parent0c26537c5819cea6034008dd1100e47f9bf92f23
hwmon: (pmbus) add a function to check the presence of a block register

Other functions (like pmbus_check_byte_register) cannot be used to check
the presence of a block register, because it will generate error when PEC
is used.

Signed-off-by: Adam Wujek <dev_public@wujek.eu>
Link: https://lore.kernel.org/r/20220601013232.801133-1-dev_public@wujek.eu
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c