diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2014-09-16 22:19:04 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-10-28 16:44:34 +0100 |
commit | 373fbbce546be8914e625373eaa16036a695d39d (patch) | |
tree | af8f7710ecfe365142abd9f89faf342696225520 /drivers/media/i2c/smiapp | |
parent | [media] smiapp: Set valid link frequency range (diff) | |
download | linux-373fbbce546be8914e625373eaa16036a695d39d.tar.xz linux-373fbbce546be8914e625373eaa16036a695d39d.zip |
[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>
Diffstat (limited to 'drivers/media/i2c/smiapp')
-rw-r--r-- | drivers/media/i2c/smiapp/smiapp-core.c | 2 |
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, |