aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-06-21 10:19:34 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:11:23 -0400
commit3d66c405708ee43b08788e89dbd63ebf3bbb5af1 (patch)
tree061103bd89b581ee6cf0f69d31854bc2640a72c0 /drivers/media/video/cx18
parent42b03fe16fe8cc2cd6575e25ed1872fd6f5da56f (diff)
V4L/DVB (8091): cx18: show GPIO pins when VIDIOC_LOG_STATUS is called.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx18')
-rw-r--r--drivers/media/video/cx18/cx18-ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c
index 19618bdcdde1..cfda54d022e0 100644
--- a/drivers/media/video/cx18/cx18-ioctl.c
+++ b/drivers/media/video/cx18/cx18-ioctl.c
@@ -777,6 +777,8 @@ static int cx18_log_status(struct file *file, void *fh)
777 cx18_get_audio_input(cx, cx->audio_input, &audin); 777 cx18_get_audio_input(cx, cx->audio_input, &audin);
778 CX18_INFO("Video Input: %s\n", vidin.name); 778 CX18_INFO("Video Input: %s\n", vidin.name);
779 CX18_INFO("Audio Input: %s\n", audin.name); 779 CX18_INFO("Audio Input: %s\n", audin.name);
780 CX18_INFO("GPIO: direction 0x%08x, value 0x%08x\n",
781 cx->gpio_dir, cx->gpio_val);
780 CX18_INFO("Tuner: %s\n", 782 CX18_INFO("Tuner: %s\n",
781 test_bit(CX18_F_I_RADIO_USER, &cx->i_flags) ? "Radio" : "TV"); 783 test_bit(CX18_F_I_RADIO_USER, &cx->i_flags) ? "Radio" : "TV");
782 cx2341x_log_status(&cx->params, cx->name); 784 cx2341x_log_status(&cx->params, cx->name);