From 4656fb63716af240452adf7b1aab3a9573452fd9 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 25 Jun 2006 18:35:24 -0300 Subject: [PATCH] V4L/DVB (4229): Cx88-blackbird: implement VIDIOC_LOG_STATUS 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 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/cx88/cx88-blackbird.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index 78df66671ea2..a7893a6eb58e 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c @@ -853,6 +853,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); -- 2.30.2