summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ringel <stefan.ringel@arcor.de>2010-04-02 13:52:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:57:31 -0300
commitf1434f4e90cec0bc57616c2f5f7de6985d7920d9 (patch)
tree9b68d8cc8b46e195be220e1d1abe07b1b6382dbb
parenta41b2ea73ad81bb42364841b37d4c3830a53dc0d (diff)
V4L/DVB: tm6000: tm6000_i2c_xfer: request labeling
labeling the request after tuner reading and writeing Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/staging/tm6000/tm6000-i2c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c
index ec4c9381c14..2ab632b6fd1 100644
--- a/drivers/staging/tm6000/tm6000-i2c.c
+++ b/drivers/staging/tm6000/tm6000-i2c.c
@@ -135,8 +135,8 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap,
i++;
if (addr == dev->tuner_addr << 1) {
- tm6000_set_reg(dev, 0x32, 0,0);
- tm6000_set_reg(dev, 0x33, 0,0);
+ tm6000_set_reg(dev, REQ_50_SET_START, 0, 0);
+ tm6000_set_reg(dev, REQ_51_SET_STOP, 0, 0);
}
if (i2c_debug >= 2)
for (byte = 0; byte < msgs[i].len; byte++)
@@ -150,8 +150,8 @@ static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap,
msgs[i].buf + 1, msgs[i].len - 1);
if (addr == dev->tuner_addr << 1) {
- tm6000_set_reg(dev, 0x32, 0,0);
- tm6000_set_reg(dev, 0x33, 0,0);
+ tm6000_set_reg(dev, REQ_50_SET_START, 0, 0);
+ tm6000_set_reg(dev, REQ_51_SET_STOP, 0, 0);
}
}
if (i2c_debug >= 2)