]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pmbus) Expose PEC debugfs attribute
authorAndrew Jeffery <andrew@aj.id.au>
Thu, 10 Sep 2020 02:11:06 +0000 (11:41 +0930)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Sep 2020 16:42:41 +0000 (09:42 -0700)
commitc210a5c26d6563115ccec68e2c94b2ee747ceaa0
tree91ee8b2d5d0a5eba455dcbdf174f76058840925b
parent559a11c267da84d072f36c3d5ddab25ffddcf447
hwmon: (pmbus) Expose PEC debugfs attribute

Enable runtime debug control of whether the PEC byte is exchanged with
the PMBus device.

Some manufacturers have asked for the PEC to be disabled as part of
debugging driver communication issues with devices.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20200910021106.2958382-1-andrew@aj.id.au
[groeck: Replace %1llu with %llu]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pmbus_core.c