summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-blackbird.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-06-25 17:35:24 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2006-06-25 17:35:24 -0400
commitf9e6bd9e5e9711f5299c2709c8acc4a7402c1de7 (patch)
treed1b16bffa9309545ae76ed215c396ac42aa8ea8c /linux/drivers/media/video/cx88/cx88-blackbird.c
parentfbfd6ff8a4b50e1dde9692e90d7a7f56f11bb7f7 (diff)
downloadmediapointer-dvb-s2-f9e6bd9e5e9711f5299c2709c8acc4a7402c1de7.tar.gz
mediapointer-dvb-s2-f9e6bd9e5e9711f5299c2709c8acc4a7402c1de7.tar.bz2
cx88-blackbird: implement VIDIOC_LOG_STATUS
From: Michael Krufky <mkrufky@linuxtv.org> implemented VIDIOC_LOG_STATUS in the cx88-blackbird driver to show the status of i2c clients and the cx23416 mpeg encoder. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-blackbird.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c
index 06cb07bba..2acf7fb94 100644
--- a/linux/drivers/media/video/cx88/cx88-blackbird.c
+++ b/linux/drivers/media/video/cx88/cx88-blackbird.c
@@ -886,6 +886,14 @@ static int mpeg_do_ioctl(struct inode *inode, struct file *file,
fh->mpegq.field);
return 0;
}
+ case VIDIOC_LOG_STATUS:
+ printk("%s/2: ============ START LOG STATUS ============\n",
+ core->name);
+ cx88_call_i2c_clients(core, VIDIOC_LOG_STATUS, 0);
+ cx2341x_log_status(&dev->params, dev->mpeg_dev->minor);
+ printk("%s/2: ============= END LOG STATUS =============\n",
+ core->name);
+ return 0;
default:
return cx88_do_ioctl(inode, file, 0, dev->core, cmd, arg, mpeg_do_ioctl);