Commit 9c169df8 authored by Al Viro's avatar Al Viro Committed by Mauro Carvalho Chehab

V4L/DVB (8134): zoran annotations and fixes

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 86ecc027
...@@ -1138,7 +1138,7 @@ zr36057_init (struct zoran *zr) ...@@ -1138,7 +1138,7 @@ zr36057_init (struct zoran *zr)
goto exit_free; goto exit_free;
} }
for (j = 0; j < BUZ_NUM_STAT_COM; j++) { for (j = 0; j < BUZ_NUM_STAT_COM; j++) {
zr->stat_com[j] = 1; /* mark as unavailable to zr36057 */ zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable to zr36057 */
} }
/* /*
......
...@@ -2794,7 +2794,7 @@ zoran_do_ioctl (struct inode *inode, ...@@ -2794,7 +2794,7 @@ zoran_do_ioctl (struct inode *inode,
{ {
struct v4l2_format *fmt = arg; struct v4l2_format *fmt = arg;
int i, res = 0; int i, res = 0;
__u32 printformat; __le32 printformat;
dprintk(3, KERN_DEBUG "%s: VIDIOC_S_FMT - type=%d, ", dprintk(3, KERN_DEBUG "%s: VIDIOC_S_FMT - type=%d, ",
ZR_DEVNAME(zr), fmt->type); ZR_DEVNAME(zr), fmt->type);
...@@ -3039,7 +3039,7 @@ zoran_do_ioctl (struct inode *inode, ...@@ -3039,7 +3039,7 @@ zoran_do_ioctl (struct inode *inode,
{ {
int i, res = 0; int i, res = 0;
struct v4l2_framebuffer *fb = arg; struct v4l2_framebuffer *fb = arg;
__u32 printformat = __cpu_to_le32(fb->fmt.pixelformat); __le32 printformat = __cpu_to_le32(fb->fmt.pixelformat);
dprintk(3, dprintk(3,
KERN_DEBUG KERN_DEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment