Commit 9b4b9264 authored by Josh Wu's avatar Josh Wu Committed by Mauro Carvalho Chehab

[media] atmel-isi: fix debug message which only show the first format

Correct the debug output message to show correct format.
Signed-off-by: default avatarJosh Wu <josh.wu@atmel.com>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent e920ebc2
...@@ -795,7 +795,7 @@ static int isi_camera_get_formats(struct soc_camera_device *icd, ...@@ -795,7 +795,7 @@ static int isi_camera_get_formats(struct soc_camera_device *icd,
xlate->host_fmt = &isi_camera_formats[i]; xlate->host_fmt = &isi_camera_formats[i];
xlate->code = code.code; xlate->code = code.code;
dev_dbg(icd->parent, "Providing format %s using code %d\n", dev_dbg(icd->parent, "Providing format %s using code %d\n",
isi_camera_formats[0].name, code.code); xlate->host_fmt->name, xlate->code);
} }
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment