diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2014-04-01 18:47:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-10-28 13:38:36 -0200 |
commit | 29391300f9b4e7e2a657d73a061d6bee1960e82d (patch) | |
tree | e59149c0bd0ee452b29305c60fc69a9980cc5419 | |
parent | 9249e9a4ca113517307c5044f66ec9cc0ede20b1 (diff) | |
download | lwn-29391300f9b4e7e2a657d73a061d6bee1960e82d.tar.gz lwn-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>
-rw-r--r-- | drivers/media/i2c/smiapp-pll.c | 5 |
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, |