summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/smiapp-pll.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2014-04-01 23:47:55 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 16:38:36 +0100
commit29391300f9b4e7e2a657d73a061d6bee1960e82d (patch)
treee59149c0bd0ee452b29305c60fc69a9980cc5419 /drivers/media/i2c/smiapp-pll.c
parent[media] smiapp: The PLL calculator handles sensors with VT clocks only (diff)
downloadlinux-29391300f9b4e7e2a657d73a061d6bee1960e82d.tar.xz
linux-29391300f9b4e7e2a657d73a061d6bee1960e82d.zip
[media] smiapp: Remove validation of op_pix_clk_div
op_pix_clk_div is directly assigned and not calculated. There's no need to verify it. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/smiapp-pll.c')
-rw-r--r--drivers/media/i2c/smiapp-pll.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c
index 862ca0ca5362..0d5c50374c2c 100644
--- a/drivers/media/i2c/smiapp-pll.c
+++ b/drivers/media/i2c/smiapp-pll.c
@@ -116,11 +116,6 @@ static int check_all_bounds(struct device *dev,
"op_sys_clk_div");
if (!rval)
rval = bounds_check(
- dev, op_pll->pix_clk_div,
- op_limits->min_pix_clk_div, op_limits->max_pix_clk_div,
- "op_pix_clk_div");
- if (!rval)
- rval = bounds_check(
dev, op_pll->sys_clk_freq_hz,
op_limits->min_sys_clk_freq_hz,
op_limits->max_sys_clk_freq_hz,