OSDN Git Service

media: ccs-pll: Split off VT subtree calculation
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 25 Aug 2020 20:23:43 +0000 (22:23 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 7 Dec 2020 14:59:10 +0000 (15:59 +0100)
commit3e2db036c9b706e68016db7610c333ed926425be
tree51b07ca992dd5d68a168a80df079115717926805
parent8030aa4f9c512ecf8b91b37c88ab6b479e71c8a4
media: ccs-pll: Split off VT subtree calculation

Split off the VT sub clock tree calculation from the rest, into its own
function. Also call the op_pll_fr argument pll_fr, since soon these may
not be OP tree values.

This paves way for additional features in the future such as dual PLL
support.

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