Skip to content

Commit 2cdee50

Browse files
Colin Ian Kingbebarino
authored andcommitted
clk: lmk04832: Fix spelling mistakes in dev_err messages and comments
There are handful of spelling mistakes in two dev_err error messages and comments. Fix them. Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent b424f73 commit 2cdee50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/clk/clk-lmk04832.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ static long lmk04832_vco_round_rate(struct clk_hw *hw, unsigned long rate,
519519

520520
vco_rate = lmk04832_calc_pll2_params(*prate, rate, &n, &p, &r);
521521
if (vco_rate < 0) {
522-
dev_err(lmk->dev, "PLL2 parmeters out of range\n");
522+
dev_err(lmk->dev, "PLL2 parameters out of range\n");
523523
return vco_rate;
524524
}
525525

@@ -550,7 +550,7 @@ static int lmk04832_vco_set_rate(struct clk_hw *hw, unsigned long rate,
550550

551551
vco_rate = lmk04832_calc_pll2_params(prate, rate, &n, &p, &r);
552552
if (vco_rate < 0) {
553-
dev_err(lmk->dev, "failed to determine PLL2 parmeters\n");
553+
dev_err(lmk->dev, "failed to determine PLL2 parameters\n");
554554
return vco_rate;
555555
}
556556

@@ -573,7 +573,7 @@ static int lmk04832_vco_set_rate(struct clk_hw *hw, unsigned long rate,
573573

574574
/*
575575
* PLL2_N registers must be programmed after other PLL2 dividers are
576-
* programed to ensure proper VCO frequency calibration
576+
* programmed to ensure proper VCO frequency calibration
577577
*/
578578
ret = regmap_write(lmk->regmap, LMK04832_REG_PLL2_N_0,
579579
FIELD_GET(0x030000, n));
@@ -1120,7 +1120,7 @@ static int lmk04832_dclk_set_rate(struct clk_hw *hw, unsigned long rate,
11201120
return -EINVAL;
11211121
}
11221122

1123-
/* Enable Duty Cycle Corretion */
1123+
/* Enable Duty Cycle Correction */
11241124
if (dclk_div == 1) {
11251125
ret = regmap_update_bits(lmk->regmap,
11261126
LMK04832_REG_CLKOUT_CTRL3(dclk->id),

0 commit comments

Comments
 (0)