summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2018-07-05 16:41:11 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-24 20:54:05 +0200
commit18d6a9b831985c7c646abd751509f52079420104 (patch)
treeebccaafdac715f5535dde6869887255054f1e858 /drivers
parentmedia: ov5640: do not change mode if format or frame interval is unchanged (diff)
downloadlinux-18d6a9b831985c7c646abd751509f52079420104.tar.xz
linux-18d6a9b831985c7c646abd751509f52079420104.zip
media: smiapp: fix debug message
ask_h gets printed here instead of ask_w. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index f2daad49ff18..1236683da8f7 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -1892,7 +1892,7 @@ static int scaling_goodness(struct v4l2_subdev *subdev, int w, int ask_w,
val -= SCALING_GOODNESS_EXTREME;
dev_dbg(&client->dev, "w %d ask_w %d h %d ask_h %d goodness %d\n",
- w, ask_h, h, ask_h, val);
+ w, ask_w, h, ask_h, val);
return val;
}