• Arkadiusz Kubalewski's avatar
    ice: fix dpll input pin phase_adjust value updates · 3b14430c
    Arkadiusz Kubalewski authored
    The value of phase_adjust for input pin shall be updated in
    ice_dpll_pin_state_update(..). Fix by adding proper argument to the
    firmware query function call - a pin's struct field pointer where the
    phase_adjust value during driver runtime is stored.
    
    Previously the phase_adjust used to misinform user about actual
    phase_adjust value. I.e., if phase_adjust was set to a non zero value and
    if driver was reloaded, the user would see the value equal 0, which is
    not correct - the actual value is equal to value set before driver reload.
    
    Fixes: 90e1c907 ("ice: dpll: implement phase related callbacks")
    Reviewed-by: default avatarAlan Brady <alan.brady@intel.com>
    Signed-off-by: default avatarArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
    Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
    Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
    3b14430c
ice_dpll.c 58.3 KB