This series reworks and clarifies DPLL control logic. Contains
refactoring changes for better readability as well as the changes making
the pin controls compliant to design requirements.
Bounds checking is added to avoid any potential out-of-bounds access
Previous version: https://www.mail-archive.com/intel-wired-lan@osuosl.org/msg19128.html
v1->v2: Harden the error handling paths, additional bounds and
pointer checks
v2->v3: Fully rework the rollback codepaths, rearrange changes
Sergey Temerkhanov (6):
ice: dpll: Add the MUX tables to the documentation
ice: dpll: Rework multiplexed pin notifications
ice: dpll: Use switch statements to handle pin states
ice: dpll: Check for bounds when updating the pin states
ice: dpll: Rework U.FL muxed pin (SMA) control
ice: dpll: Rework the SMA control logic to match the requirements
drivers/net/ethernet/intel/ice/ice_dpll.c | 574 ++++++++++++++++++----
drivers/net/ethernet/intel/ice/ice_dpll.h | 1 +
2 files changed, 478 insertions(+), 97 deletions(-)
--
2.53.0