media: ccs-pll: End search if there are no better values available
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 1 Sep 2020 11:11:11 +0000 (13:11 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 7 Dec 2020 14:37:25 +0000 (15:37 +0100)
commit9c1a0d9e9188e7dc2f8f723ce87885e17636ede8
treeb37f61dc1f0bcdd78c739934e7ee17c6f5486ed1
parent9454432af0c874eba7abb1abb76bbf62950a9087
media: ccs-pll: End search if there are no better values available

The VT divisor search can be ended if we've already found the value that
corresponds exactly the total divisor, as there are no better (lower)
values available.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs-pll.c