Skip to content
Commit 4e5418f7 authored by Madhava Reddy Siddareddygari's avatar Madhava Reddy Siddareddygari Committed by Guenter Roeck
Browse files

hwmon: (pmbus_core) Check adapter PEC support



Currently, for Packet Error Checking (PEC) only the controller
is checked for support. This causes problems on the cisco-8000
platform where a SMBUS transaction errors are observed. This is
because PEC has to be enabled only if both controller and
adapter support it.

Added code to check PEC capability for adapter and enable it
only if both controller and adapter supports PEC.

Signed-off-by: default avatarMadhava Reddy Siddareddygari <msiddare@cisco.com>
[Upstream from SONiC https://github.com/Azure/sonic-linux-kernel/pull/215

]
Signed-off-by: default avatarPaul Menzel <pmenzel@molgen.mpg.de>
Link: https://lore.kernel.org/r/20210605052700.541455-1-pmenzel@molgen.mpg.de


[groeck: Dropped unnecessary continuation line]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 6b6af854
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment