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
@@ -53,7 +53,7 @@ struct saa7146_vv;
|
||||
/* saa7146 page table */
|
||||
struct saa7146_pgtable {
|
||||
unsigned int size;
|
||||
u32 *cpu;
|
||||
__le32 *cpu;
|
||||
dma_addr_t dma;
|
||||
/* used for offsets for u,v planes for planar capture modes */
|
||||
unsigned long offset;
|
||||
@@ -101,7 +101,7 @@ struct saa7146_extension
|
||||
struct saa7146_dma
|
||||
{
|
||||
dma_addr_t dma_handle;
|
||||
u32 *cpu_addr;
|
||||
__le32 *cpu_addr;
|
||||
};
|
||||
|
||||
struct saa7146_dev
|
||||
|
Reference in New Issue
Block a user