From: Sakari Ailus Date: Tue, 16 Sep 2014 20:19:04 +0000 (-0300) Subject: [media] smiapp: Update PLL when setting format X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=373fbbce546be8914e625373eaa16036a695d39d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- 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,