summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_i2c.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-05-19 17:33:06 +0000
committerMichael Hunold <devnull@localhost>2003-05-19 17:33:06 +0000
commit1b96056da548c2823012c52a69e671310ff3445b (patch)
treebdacde53ad08265b7713e75f44d2fba881f08591 /linux/drivers/media/common/saa7146_i2c.c
parent78fccbe2a473cdf42a87d98fedaa89f4880da05d (diff)
downloadmediapointer-dvb-s2-1b96056da548c2823012c52a69e671310ff3445b.tar.gz
mediapointer-dvb-s2-1b96056da548c2823012c52a69e671310ff3445b.tar.bz2
First try to use pci_consistent_dma() throughout the whole saa7146
driver subsystem.
Diffstat (limited to 'linux/drivers/media/common/saa7146_i2c.c')
-rw-r--r--linux/drivers/media/common/saa7146_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_i2c.c b/linux/drivers/media/common/saa7146_i2c.c
index 086774b00..d6b92ac2f 100644
--- a/linux/drivers/media/common/saa7146_i2c.c
+++ b/linux/drivers/media/common/saa7146_i2c.c
@@ -280,7 +280,7 @@ int saa7146_i2c_writeout(struct saa7146_dev *dev, u32* dword)
int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg msgs[], int num, int retries)
{
int i = 0, count = 0;
- u32* buffer = dev->i2c_mem;
+ u32* buffer = dev->d_i2c.cpu_addr;
int err = 0;
int address_err = 0;