[media] smiapp: Drop a debug print on frame size and bit depth
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Sep 2016 12:08:26 +0000 (09:08 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:14:36 +0000 (15:14 -0200)
The first time the sensor is powered on, the information is not yet
available.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/smiapp/smiapp-core.c

index 5f4680d9d8228a142a7388e88747d69e04911dde..8f9690e375bff9f06f992d979981af2f38db369e 100644 (file)
@@ -926,12 +926,6 @@ static int smiapp_update_mode(struct smiapp_sensor *sensor)
        unsigned int binning_mode;
        int rval;
 
-       dev_dbg(&client->dev, "frame size: %dx%d\n",
-               sensor->src->crop[SMIAPP_PAD_SRC].width,
-               sensor->src->crop[SMIAPP_PAD_SRC].height);
-       dev_dbg(&client->dev, "csi format width: %d\n",
-               sensor->csi_format->width);
-
        /* Binning has to be set up here; it affects limits */
        if (sensor->binning_horizontal == 1 &&
            sensor->binning_vertical == 1) {