commit | e0f0307ac16fe69c6f9dcc8d14b532bc608fc989 | [log] [tgz] |
---|---|---|
author | Zev Weiss <zev@bewilderbeest.net> | Fri Feb 18 16:03:59 2022 -0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Feb 27 17:03:18 2022 -0800 |
tree | c28fff04459f1001dc7cde3fe4977244e88b0d94 | |
parent | 034dadfbd329231fc771984d4897c71f73a4434d [diff] |
hwmon: (pmbus) Add get_error_flags support to regulator ops The various PMBus status bits don't all map perfectly to the more limited set of REGULATOR_ERROR_* flags, but there's a reasonable number where they correspond well enough. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Link: https://lore.kernel.org/r/20220219000359.19985-1-zev@bewilderbeest.net [groeck: Added missing locking] Signed-off-by: Guenter Roeck <linux@roeck-us.net>