summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/ccs-pll.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2020-06-18 14:23:26 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-07 17:37:55 +0300
commit6aadbff9d459d4e4ebaedf19d50b0f057574f756 (patch)
treee6ea3aea7ee08a9624b57439f8b8ac42449d4d84 /drivers/media/i2c/ccs-pll.c
parent9c1a0d9e9188e7dc2f8f723ce87885e17636ede8 (diff)
downloadlinux-6aadbff9d459d4e4ebaedf19d50b0f057574f756.tar.xz
media: ccs-pll: Remove parallel bus support
The parallel bus PLL calculation has no users. Remove it. 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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/i2c/ccs-pll.c b/drivers/media/i2c/ccs-pll.c
index 22e29127804a..da97a2b91717 100644
--- a/drivers/media/i2c/ccs-pll.c
+++ b/drivers/media/i2c/ccs-pll.c
@@ -435,11 +435,6 @@ int ccs_pll_calculate(struct device *dev, const struct ccs_pll_limits *lim,
op_pll_fr->pll_op_clk_freq_hz = pll->link_freq * 2
* (pll->csi2.lanes / lane_op_clock_ratio);
break;
- case CCS_PLL_BUS_TYPE_PARALLEL:
- op_pll_fr->pll_op_clk_freq_hz = pll->link_freq * pll->bits_per_pixel
- / DIV_ROUND_UP(pll->bits_per_pixel,
- pll->parallel.bus_width);
- break;
default:
return -EINVAL;
}