diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-07-07 10:54:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-07 15:49:55 +0100 |
commit | c64cf71d10c36513071ca538f59e4c38eb25ae55 (patch) | |
tree | 9bb7e3b193bd29d34f182c69c112db0a816c6aff /drivers | |
parent | 482e75e7b3eba6730cbfaa1911916d13887c9606 (diff) | |
download | linux-c64cf71d10c36513071ca538f59e4c38eb25ae55.tar.bz2 |
media: ccs-pll: Fix comment on check against maximum PLL multiplier
The comment is about minimum PLL multiplier but the related check really
deals with the maximum PLL multiplier.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/i2c/ccs-pll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ccs-pll.c b/drivers/media/i2c/ccs-pll.c index 78897a7c1448..f4c41d61e332 100644 --- a/drivers/media/i2c/ccs-pll.c +++ b/drivers/media/i2c/ccs-pll.c @@ -203,7 +203,7 @@ __ccs_pll_calculate(struct device *dev, const struct ccs_pll_limits *lim, / div); dev_dbg(dev, "more_mul_max: max_op_sys_clk_div check: %u\n", more_mul_max); - /* Ensure we won't go above min_pll_multiplier. */ + /* Ensure we won't go above max_pll_multiplier. */ more_mul_max = min(more_mul_max, DIV_ROUND_UP(op_lim_fr->max_pll_multiplier, mul)); dev_dbg(dev, "more_mul_max: min_pll_multiplier check: %u\n", |