summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-01-10 18:13:46 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:25 +0200
commite0f28b6a69b73ebf610f4f9759999bcdabdcda8e (patch)
tree086bad6dd5cb16f3a194933417eba2823e719791 /drivers/media
parentV4L/DVB (10278): cx18: Fix bad audio in first analog capture. (diff)
downloadlinux-e0f28b6a69b73ebf610f4f9759999bcdabdcda8e.tar.xz
linux-e0f28b6a69b73ebf610f4f9759999bcdabdcda8e.zip
V4L/DVB (10279): cx18: Print driver version number when logging status
Make sure v4l2-ctl --log-status outputs the driver version. Reported-by: David Dombroski <davedom@optonline.net> Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/cx18/cx18-ioctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c
index 7086aaba77d6..f38ca207cad2 100644
--- a/drivers/media/video/cx18/cx18-ioctl.c
+++ b/drivers/media/video/cx18/cx18-ioctl.c
@@ -708,7 +708,9 @@ static int cx18_log_status(struct file *file, void *fh)
struct v4l2_audio audin;
int i;
- CX18_INFO("================= START STATUS CARD #%d =================\n", cx->num);
+ CX18_INFO("================= START STATUS CARD #%d "
+ "=================\n", cx->num);
+ CX18_INFO("Version: %s Card: %s\n", CX18_VERSION, cx->card_name);
if (cx->hw_flags & CX18_HW_TVEEPROM) {
struct tveeprom tv;