summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-06-21 13:19:34 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-06-21 13:19:34 +0200
commit4b82fea3bde0ddce3ab4c911125c79c6eefe9616 (patch)
tree0062f4cdfd26ccfd555e9f98427f517b20e4d692 /linux/drivers/media/video
parent097a48597f554fece7eff6e6d16471fe5e4be9eb (diff)
downloadmediapointer-dvb-s2-4b82fea3bde0ddce3ab4c911125c79c6eefe9616.tar.gz
mediapointer-dvb-s2-4b82fea3bde0ddce3ab4c911125c79c6eefe9616.tar.bz2
cx18: show GPIO pins when VIDIOC_LOG_STATUS is called.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/cx18/cx18-ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-ioctl.c b/linux/drivers/media/video/cx18/cx18-ioctl.c
index fc4cfbdcd..90712f4cd 100644
--- a/linux/drivers/media/video/cx18/cx18-ioctl.c
+++ b/linux/drivers/media/video/cx18/cx18-ioctl.c
@@ -892,6 +892,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);