aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-13 04:34:12 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:32 -0500
commit63736784f73e7c38b2bad5ed3ed783dc102ba01e (patch)
tree8beb9887544754294c804a507433c99ff1ce0e02 /drivers/media/video/videodev.c
parent225ba900886f6d2d3447dd5bfdb95217f0619755 (diff)
V4L/DVB (6805): video std is a bitmask. Better to print in hexa
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index 9611c3990285..28655f8983c6 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -973,7 +973,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
973 973
974 *id = vfd->current_norm; 974 *id = vfd->current_norm;
975 975
976 dbgarg (cmd, "value=%Lu\n", (long long unsigned) *id); 976 dbgarg (cmd, "value=%08Lx\n", (long long unsigned) *id);
977 977
978 ret=0; 978 ret=0;
979 break; 979 break;
@@ -982,7 +982,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
982 { 982 {
983 v4l2_std_id *id = arg,norm; 983 v4l2_std_id *id = arg,norm;
984 984
985 dbgarg (cmd, "value=%Lu\n", (long long unsigned) *id); 985 dbgarg (cmd, "value=%08Lx\n", (long long unsigned) *id);
986 986
987 norm = (*id) & vfd->tvnorms; 987 norm = (*id) & vfd->tvnorms;
988 if ( vfd->tvnorms && !norm) /* Check if std is supported */ 988 if ( vfd->tvnorms && !norm) /* Check if std is supported */
@@ -1008,7 +1008,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
1008 break; 1008 break;
1009 ret=vfd->vidioc_querystd(file, fh, arg); 1009 ret=vfd->vidioc_querystd(file, fh, arg);
1010 if (!ret) 1010 if (!ret)
1011 dbgarg (cmd, "detected std=%Lu\n", 1011 dbgarg (cmd, "detected std=%08Lx\n",
1012 (unsigned long long)*p); 1012 (unsigned long long)*p);
1013 break; 1013 break;
1014 } 1014 }
@@ -1028,7 +1028,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
1028 if (!ret) 1028 if (!ret)
1029 dbgarg (cmd, "index=%d, name=%s, type=%d, " 1029 dbgarg (cmd, "index=%d, name=%s, type=%d, "
1030 "audioset=%d, " 1030 "audioset=%d, "
1031 "tuner=%d, std=%Ld, status=%d\n", 1031 "tuner=%d, std=%08Lx, status=%d\n",
1032 p->index,p->name,p->type,p->audioset, 1032 p->index,p->name,p->type,p->audioset,
1033 p->tuner, 1033 p->tuner,
1034 (unsigned long long)p->std, 1034 (unsigned long long)p->std,