mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
9249e9a4ca
commit
29391300f9
|
@ -114,11 +114,6 @@ static int check_all_bounds(struct device *dev,
|
|||
dev, op_pll->sys_clk_div,
|
||||
op_limits->min_sys_clk_div, op_limits->max_sys_clk_div,
|
||||
"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,
|
||||
|
|
Loading…
Reference in New Issue