diff options
author | Gerd Knorr <devnull@localhost> | 2005-05-11 19:59:24 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2005-05-11 19:59:24 +0000 |
commit | dacd4310cb9c541e6746baceb4a8f192fcf220eb (patch) | |
tree | 74f3273fdb14eb98a44ee36bea1b41c8e5fb67b5 /linux/drivers/media/video | |
parent | 977bcc338ba96d70a2092186e474c7e2d78bcc3e (diff) | |
download | mediapointer-dvb-s2-dacd4310cb9c541e6746baceb4a8f192fcf220eb.tar.gz mediapointer-dvb-s2-dacd4310cb9c541e6746baceb4a8f192fcf220eb.tar.bz2 |
Fix byteorder bug in the saa7134 driver. With that ObviouslyCorrect[tm]
patch applied the driver reportly works on powerpc.
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c index 6591f6011..cd7eb4804 100644 --- a/linux/drivers/media/video/saa7134/saa7134-core.c +++ b/linux/drivers/media/video/saa7134/saa7134-core.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-core.c,v 1.28 2005/02/22 09:56:29 kraxel Exp $ + * $Id: saa7134-core.c,v 1.29 2005/05/11 19:59:24 kraxel Exp $ * * device driver for philips saa7134 based TV cards * driver core @@ -351,7 +351,7 @@ int saa7134_pgtable_build(struct pci_dev *pci, struct saa7134_pgtable *pt, ptr = pt->cpu + startpage; for (i = 0; i < length; i++, list++) for (p = 0; p * 4096 < list->length; p++, ptr++) - *ptr = sg_dma_address(list) - list->offset; + *ptr = cpu_to_le32(sg_dma_address(list) - list->offset); return 0; } |