V4L/DVB (8128): saa7146: ->cpu_addr and friends are little-endian
Annotations + stop saa7146_i2c from playing fast and loose with reuse of ->cpu_addr for host-endian. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
f51b10ef65
commit
a36ef6b1e0
@@ -605,8 +605,8 @@ static int saa7146_pgtable_build(struct saa7146_dev *dev, struct saa7146_buf *bu
|
||||
struct saa7146_pgtable *pt1 = &buf->pt[0];
|
||||
struct saa7146_pgtable *pt2 = &buf->pt[1];
|
||||
struct saa7146_pgtable *pt3 = &buf->pt[2];
|
||||
u32 *ptr1, *ptr2, *ptr3;
|
||||
u32 fill;
|
||||
__le32 *ptr1, *ptr2, *ptr3;
|
||||
__le32 fill;
|
||||
|
||||
int size = buf->fmt->width*buf->fmt->height;
|
||||
int i,p,m1,m2,m3,o1,o2;
|
||||
|
Reference in New Issue
Block a user