aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2014-09-15 16:07:07 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 11:37:53 -0400
commit9249e9a4ca113517307c5044f66ec9cc0ede20b1 (patch)
tree3537898a7be354f5f9287720f9637f42a41113e8 /drivers/media/i2c
parent63516b55e3efed3a306ada6f79aa7052c83249ce (diff)
[media] smiapp: The PLL calculator handles sensors with VT clocks only
No need to pretend the OP limits are there anymore. 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')
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index 389e7751ebb4..d0ea7a3bfc0a 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -277,16 +277,6 @@ static int smiapp_pll_update(struct smiapp_sensor *sensor)
277 struct smiapp_pll *pll = &sensor->pll; 277 struct smiapp_pll *pll = &sensor->pll;
278 int rval; 278 int rval;
279 279
280 if (sensor->minfo.smiapp_profile == SMIAPP_PROFILE_0) {
281 /*
282 * Fill in operational clock divisors limits from the
283 * video timing ones. On profile 0 sensors the
284 * requirements regarding them are essentially the
285 * same as on VT ones.
286 */
287 lim.op = lim.vt;
288 }
289
290 pll->binning_horizontal = sensor->binning_horizontal; 280 pll->binning_horizontal = sensor->binning_horizontal;
291 pll->binning_vertical = sensor->binning_vertical; 281 pll->binning_vertical = sensor->binning_vertical;
292 pll->link_freq = 282 pll->link_freq =