aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-06-25 17:35:24 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-26 23:17:16 -0400
commit4656fb63716af240452adf7b1aab3a9573452fd9 (patch)
treeb09e4f8577917f05208a11fc545fddee5362ad8d /drivers/media/video/cx88
parentd855497edbfbf9e19a17f4a1154bca69cb4bd9ba (diff)
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 <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-blackbird.c8
1 files changed, 8 insertions, 0 deletions
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,
853 fh->mpegq.field); 853 fh->mpegq.field);
854 return 0; 854 return 0;
855 } 855 }
856 case VIDIOC_LOG_STATUS:
857 printk("%s/2: ============ START LOG STATUS ============\n",
858 core->name);
859 cx88_call_i2c_clients(core, VIDIOC_LOG_STATUS, 0);
860 cx2341x_log_status(&dev->params, dev->mpeg_dev->minor);
861 printk("%s/2: ============= END LOG STATUS =============\n",
862 core->name);
863 return 0;
856 864
857 default: 865 default:
858 return cx88_do_ioctl(inode, file, 0, dev->core, cmd, arg, mpeg_do_ioctl); 866 return cx88_do_ioctl(inode, file, 0, dev->core, cmd, arg, mpeg_do_ioctl);