[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:
Sakari Ailus 2014-09-16 17:19:04 -03:00 committed by Mauro Carvalho Chehab
parent 602cbcaa8e
commit 373fbbce54
1 changed files with 1 additions and 1 deletions

View File

@ -1780,7 +1780,7 @@ static int smiapp_set_format_source(struct v4l2_subdev *subdev,
__fls(*valid_link_freqs), ~*valid_link_freqs, __fls(*valid_link_freqs), ~*valid_link_freqs,
__ffs(*valid_link_freqs)); __ffs(*valid_link_freqs));
return 0; return smiapp_pll_update(sensor);
} }
static int smiapp_set_format(struct v4l2_subdev *subdev, static int smiapp_set_format(struct v4l2_subdev *subdev,