diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2025-02-18 23:47:13 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-04-25 10:15:14 +0200 |
| commit | 06d2d478b09e6764fb6161d1621fc10d9f0f2860 (patch) | |
| tree | 24e42f2b55260cf431c6782f3597ebac112b51e8 /drivers/media/i2c/ccs/ccs-core.c | |
| parent | 660e613d05e449766784c549faf5927ffaf281f1 (diff) | |
media: ccs-pll: Start VT pre-PLL multiplier search from correct value
The ccs_pll_calculate_vt_tree() function does a search over possible VT
PLL configurations to find the "best" one. If the sensor does not support
odd pre-PLL divisors and the minimum value (with constraints) isn't 1,
other odd values could be errorneously searched (and selected) for the
pre-PLL divisor. Fix this.
Fixes: 415ddd993978 ("media: ccs-pll: Split limits and PLL configuration into front and back parts")
Cc: stable@vger.kernel.org
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions