diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-06-22 12:37:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-07 15:39:38 +0100 |
commit | 47b6eaf36eba143860cf4e772a1108b1ef05520d (patch) | |
tree | d734d496367ebbc2cf297d46134b74995003395a /drivers/media/i2c/ccs-pll.c | |
parent | 6aadbff9d459d4e4ebaedf19d50b0f057574f756 (diff) | |
download | linux-stable-47b6eaf36eba143860cf4e772a1108b1ef05520d.tar.gz linux-stable-47b6eaf36eba143860cf4e772a1108b1ef05520d.tar.bz2 linux-stable-47b6eaf36eba143860cf4e772a1108b1ef05520d.zip |
media: ccs-pll: Differentiate between CSI-2 D-PHY and C-PHY
Differentiate between CSI-2 D-PHY and C-PHY. This does not yet include
support for C-PHY.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/ccs-pll.c')
-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 da97a2b91717..c6435ed0597e 100644 --- a/drivers/media/i2c/ccs-pll.c +++ b/drivers/media/i2c/ccs-pll.c @@ -430,7 +430,7 @@ int ccs_pll_calculate(struct device *dev, const struct ccs_pll_limits *lim, pll->binning_vertical); switch (pll->bus_type) { - case CCS_PLL_BUS_TYPE_CSI2: + case CCS_PLL_BUS_TYPE_CSI2_DPHY: /* CSI transfers 2 bits per clock per lane; thus times 2 */ op_pll_fr->pll_op_clk_freq_hz = pll->link_freq * 2 * (pll->csi2.lanes / lane_op_clock_ratio); |