summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/saa7146_hlp.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-06-22 19:19:19 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 12:13:14 +0200
commita36ef6b1e09d06d4f1ac769eee4bd7e6cf3e0fae (patch)
tree099f489f485cbe8f44f3e8e3c8cb0e5b777d401d /drivers/media/common/saa7146_hlp.c
parentV4L/DVB (8126): net endianness fix (diff)
downloadlinux-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.c2
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;