summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2014-09-17 00:19:04 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 18:44:34 +0300
commit373fbbce546be8914e625373eaa16036a695d39d (patch)
treeaf8f7710ecfe365142abd9f89faf342696225520
parent602cbcaa8ebe0444ab99f4e6f3b0ef6497d94033 (diff)
downloadlinux-373fbbce546be8914e625373eaa16036a695d39d.tar.xz
[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>
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index f1a9f82dd44a..bcc5866175b7 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -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,