]> err.no Git - linux-2.6/commitdiff
V4L/DVB (8091): cx18: show GPIO pins when VIDIOC_LOG_STATUS is called.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 21 Jun 2008 14:19:34 +0000 (11:19 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:11:23 +0000 (07:11 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx18/cx18-ioctl.c

index 19618bdcdde119211eb2f928114dd71aa9c50293..cfda54d022e091eaa69cf7f2a039e04627a096b6 100644 (file)
@@ -777,6 +777,8 @@ static int cx18_log_status(struct file *file, void *fh)
        cx18_get_audio_input(cx, cx->audio_input, &audin);
        CX18_INFO("Video Input: %s\n", vidin.name);
        CX18_INFO("Audio Input: %s\n", audin.name);
+       CX18_INFO("GPIO:  direction 0x%08x, value 0x%08x\n",
+               cx->gpio_dir, cx->gpio_val);
        CX18_INFO("Tuner: %s\n",
                test_bit(CX18_F_I_RADIO_USER, &cx->i_flags) ?  "Radio" : "TV");
        cx2341x_log_status(&cx->params, cx->name);