[media] smiapp: The PLL calculator handles sensors with VT clocks only
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 15 Sep 2014 20:07:07 +0000 (17:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Oct 2014 15:37:53 +0000 (13:37 -0200)
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>
drivers/media/i2c/smiapp/smiapp-core.c

index 389e7751ebb4c15ea1856fe194c33dee22de9f5e..d0ea7a3bfc0a786c4b81892baee191f3185ed341 100644 (file)
@@ -277,16 +277,6 @@ static int smiapp_pll_update(struct smiapp_sensor *sensor)
        struct smiapp_pll *pll = &sensor->pll;
        int rval;
 
-       if (sensor->minfo.smiapp_profile == SMIAPP_PROFILE_0) {
-               /*
-                * Fill in operational clock divisors limits from the
-                * video timing ones. On profile 0 sensors the
-                * requirements regarding them are essentially the
-                * same as on VT ones.
-                */
-               lim.op = lim.vt;
-       }
-
        pll->binning_horizontal = sensor->binning_horizontal;
        pll->binning_vertical = sensor->binning_vertical;
        pll->link_freq =