mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
ice: use string choice helpers
Use string choice helpers for better readability. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Julia Lawall <julia.lawall@inria.fr> Closes: https://lore.kernel.org/r/202410121553.SRNFzc2M-lkp@intel.com/ Signed-off-by: R Sundar <prosunofficial@gmail.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
85d6164ec5
commit
4c9f13a654
|
|
@ -391,7 +391,7 @@ static int ice_cfg_cgu_pll_e82x(struct ice_hw *hw,
|
|||
|
||||
/* Log the current clock configuration */
|
||||
ice_debug(hw, ICE_DBG_PTP, "Current CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n",
|
||||
dw24.ts_pll_enable ? "enabled" : "disabled",
|
||||
str_enabled_disabled(dw24.ts_pll_enable),
|
||||
ice_clk_src_str(dw24.time_ref_sel),
|
||||
ice_clk_freq_str(dw9.time_ref_freq_sel),
|
||||
bwm_lf.plllock_true_lock_cri ? "locked" : "unlocked");
|
||||
|
|
@ -469,7 +469,7 @@ static int ice_cfg_cgu_pll_e82x(struct ice_hw *hw,
|
|||
|
||||
/* Log the current clock configuration */
|
||||
ice_debug(hw, ICE_DBG_PTP, "New CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n",
|
||||
dw24.ts_pll_enable ? "enabled" : "disabled",
|
||||
str_enabled_disabled(dw24.ts_pll_enable),
|
||||
ice_clk_src_str(dw24.time_ref_sel),
|
||||
ice_clk_freq_str(dw9.time_ref_freq_sel),
|
||||
bwm_lf.plllock_true_lock_cri ? "locked" : "unlocked");
|
||||
|
|
@ -546,7 +546,7 @@ static int ice_cfg_cgu_pll_e825c(struct ice_hw *hw,
|
|||
|
||||
/* Log the current clock configuration */
|
||||
ice_debug(hw, ICE_DBG_PTP, "Current CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n",
|
||||
dw24.ts_pll_enable ? "enabled" : "disabled",
|
||||
str_enabled_disabled(dw24.ts_pll_enable),
|
||||
ice_clk_src_str(dw23.time_ref_sel),
|
||||
ice_clk_freq_str(dw9.time_ref_freq_sel),
|
||||
ro_lock.plllock_true_lock_cri ? "locked" : "unlocked");
|
||||
|
|
@ -651,7 +651,7 @@ static int ice_cfg_cgu_pll_e825c(struct ice_hw *hw,
|
|||
|
||||
/* Log the current clock configuration */
|
||||
ice_debug(hw, ICE_DBG_PTP, "New CGU configuration -- %s, clk_src %s, clk_freq %s, PLL %s\n",
|
||||
dw24.ts_pll_enable ? "enabled" : "disabled",
|
||||
str_enabled_disabled(dw24.ts_pll_enable),
|
||||
ice_clk_src_str(dw23.time_ref_sel),
|
||||
ice_clk_freq_str(dw9.time_ref_freq_sel),
|
||||
ro_lock.plllock_true_lock_cri ? "locked" : "unlocked");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user