diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-06-22 19:19:19 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 12:13:14 +0200 |
commit | a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae (patch) | |
tree | 099f489f485cbe8f44f3e8e3c8cb0e5b777d401d /drivers/media/common/saa7146_hlp.c | |
parent | V4L/DVB (8126): net endianness fix (diff) | |
download | linux-a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae.tar.xz linux-a36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae.zip |
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>
Diffstat (limited to 'drivers/media/common/saa7146_hlp.c')
-rw-r--r-- | drivers/media/common/saa7146_hlp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/saa7146_hlp.c b/drivers/media/common/saa7146_hlp.c index 9c905399a233..05bde9ccb770 100644 --- a/drivers/media/common/saa7146_hlp.c +++ b/drivers/media/common/saa7146_hlp.c @@ -338,7 +338,7 @@ static void calculate_clipping_registers_rect(struct saa7146_dev *dev, struct sa struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) { struct saa7146_vv *vv = dev->vv_data; - u32 *clipping = vv->d_clipping.cpu_addr; + __le32 *clipping = vv->d_clipping.cpu_addr; int width = fh->ov.win.w.width; int height = fh->ov.win.w.height; |