summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/smiapp/smiapp-core.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2016-09-08 09:08:26 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-21 15:14:36 -0200
commitfbffb28f0337801d284d13c3a559e85697726afb (patch)
tree08c970cbb03911b6620eba94b148d2d7c038de48 /drivers/media/i2c/smiapp/smiapp-core.c
parent1b81717ed7be8a88345dde1e0cffcc31a7693d81 (diff)
downloadlinux-0-day-fbffb28f0337801d284d13c3a559e85697726afb.tar.gz
linux-0-day-fbffb28f0337801d284d13c3a559e85697726afb.tar.xz
[media] smiapp: Drop a debug print on frame size and bit depth
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>
Diffstat (limited to 'drivers/media/i2c/smiapp/smiapp-core.c')
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index 5f4680d9d8228..8f9690e375bff 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) {