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)
commit2cd8529cfb28eb9bc392a8a36c66dd318aafd49d
tree91ee8b2d5d0a5eba455dcbdf174f76058840925b
parenta919ba06979a7858dab65492eb580121ccbd524f
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