V4L/DVB (8103): videodev: fix/improve ioctl debugging
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 22 Jun 2008 14:55:09 +0000 (11:55 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:11:44 +0000 (07:11 -0300)
commit21575c13125f2ef790e192e2c70e446c6cfe0d7d
tree7224a377c03a8c365bcc31f26e30363e9c5d3ce3
parent7dc1b8844eb3e0a91911f20736db87f4876e14b4
V4L/DVB (8103): videodev: fix/improve ioctl debugging

Various ioctl debugging fixes and improvements:

- use %x rather than %d for control IDs and bitmask fields
- make two arrays const
- show the whole control array for the ext_ctrl ioctls
- print pix_fmt for V4L2_BUF_TYPE_VIDEO_OUTPUT
- show full type name rather than an integer
- fix CROPCAP debugging
- fix G/S_TUNER debugging
- show error code in case of an error
- other small cleanups

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videodev.c
include/media/v4l2-dev.h