[media] smiapp: Update PLL when setting format
The media bus format BPP does affect PLL. Recalculate PLL if the format changes. 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
602cbcaa8e
commit
373fbbce54
|
@ -1780,7 +1780,7 @@ static int smiapp_set_format_source(struct v4l2_subdev *subdev,
|
|||
__fls(*valid_link_freqs), ~*valid_link_freqs,
|
||||
__ffs(*valid_link_freqs));
|
||||
|
||||
return 0;
|
||||
return smiapp_pll_update(sensor);
|
||||
}
|
||||
|
||||
static int smiapp_set_format(struct v4l2_subdev *subdev,
|
||||
|
|
Loading…
Reference in New Issue