The first time the sensor is powered on, the information is not yet
available.

Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
---
 drivers/media/i2c/smiapp/smiapp-core.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/media/i2c/smiapp/smiapp-core.c 
b/drivers/media/i2c/smiapp/smiapp-core.c
index 5f4680d..8f9690e 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -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) {
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to