Skip to content

Commit

Permalink
V4L/DVB (4229): Cx88-blackbird: implement VIDIOC_LOG_STATUS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jun 27, 2006
1 parent d855497 commit 4656fb6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/media/video/cx88/cx88-blackbird.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4656fb6

Please sign in to comment.