diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-19 11:08:58 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-19 11:08:58 +0200 |
commit | c3d804165d726f99515e40376d836ff879ec1631 (patch) | |
tree | 89c51ea20748b49760983e396269a0f4001fe116 /linux/drivers/media/video/ivtv/ivtv-mailbox.c | |
parent | ced78b0ce0549dfd374d3d22144897d6b9c3d8aa (diff) | |
download | mediapointer-dvb-s2-c3d804165d726f99515e40376d836ff879ec1631.tar.gz mediapointer-dvb-s2-c3d804165d726f99515e40376d836ff879ec1631.tar.bz2 |
ivtv: improve debug messages
From: Hans Verkuil <hverkuil@xs4all.nl>
- add FILE debug flag for open/close/read/write/poll.
- show cmd for encoder/decoder command ioctl.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-mailbox.c')
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-mailbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-mailbox.c b/linux/drivers/media/video/ivtv/ivtv-mailbox.c index 5e3b67920..b05436da7 100644 --- a/linux/drivers/media/video/ivtv/ivtv-mailbox.c +++ b/linux/drivers/media/video/ivtv/ivtv-mailbox.c @@ -225,15 +225,15 @@ static int ivtv_api_call(struct ivtv *itv, int cmd, int args, u32 data[]) } if (args < 0 || args > CX2341X_MBOX_MAX_DATA || cmd < 0 || cmd > 255 || api_info[cmd].name == NULL) { - IVTV_ERR("Invalid API call: cmd = 0x%02x, args = %d\n", cmd, args); + IVTV_ERR("Invalid MB call: cmd = 0x%02x, args = %d\n", cmd, args); return -EINVAL; } if (api_info[cmd].flags & API_HIGH_VOL) { - IVTV_DEBUG_HI_API("API Call: %s\n", api_info[cmd].name); + IVTV_DEBUG_HI_MB("MB Call: %s\n", api_info[cmd].name); } else { - IVTV_DEBUG_API("API Call: %s\n", api_info[cmd].name); + IVTV_DEBUG_MB("MB Call: %s\n", api_info[cmd].name); } /* clear possibly uninitialized part of data array */ |