summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2014-04-15 14:06:50 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:59:12 +0900
commitdfeaad1f88c8ea1d31c9a97c637d05db7fe2103a (patch)
treec6c8f7f16d0f3b5daa43defb38df068ee0aa7a17 /drivers/media/i2c
parent7f0dbf285fe25b78b142fec7f126b5d75a0d181d (diff)
downloadlinux-3.10-dfeaad1f88c8ea1d31c9a97c637d05db7fe2103a.tar.gz
linux-3.10-dfeaad1f88c8ea1d31c9a97c637d05db7fe2103a.tar.bz2
linux-3.10-dfeaad1f88c8ea1d31c9a97c637d05db7fe2103a.zip
upstream: [media] smiapp: Print the index of the format descriptor
This makes constructing quirks easier. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index 3af8df8b850..da4422e8cbb 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -741,8 +741,8 @@ static int smiapp_get_mbus_formats(struct smiapp_sensor *sensor)
if (rval)
return rval;
- dev_dbg(&client->dev, "bpp %d, compressed %d\n",
- fmt >> 8, (u8)fmt);
+ dev_dbg(&client->dev, "%u: bpp %u, compressed %u\n",
+ i, fmt >> 8, (u8)fmt);
for (j = 0; j < ARRAY_SIZE(smiapp_csi_data_formats); j++) {
const struct smiapp_csi_data_format *f =