]> 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)
commita670f3fcabdd2a63a029af479f4111ebc7c186ca
tree599153b78b95a2fe45aa44780b8a63961150c3dc
parent52c012a27ffe12c0862dce30a723f7dcb3a97e05
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