summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv0299.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0299.c')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c
index 9e730039d..9957e1fe4 100644
--- a/linux/drivers/media/dvb/frontends/stv0299.c
+++ b/linux/drivers/media/dvb/frontends/stv0299.c
@@ -722,7 +722,7 @@ static int stv0299_wait_diseqc_fifo (struct i2c_adapter *i2c, int timeout)
dprintk ("%s: timeout!!\n", __FUNCTION__);
return -ETIMEDOUT;
}
- dvb_delay(10);
+ msleep(10);
};
return 0;
@@ -740,7 +740,7 @@ static int stv0299_wait_diseqc_idle (struct i2c_adapter *i2c, int timeout)
dprintk ("%s: timeout!!\n", __FUNCTION__);
return -ETIMEDOUT;
}
- dvb_delay(10);
+ msleep(10);
};
return 0;
@@ -1358,7 +1358,7 @@ static int attach_adapter(struct i2c_adapter *adapter)
u8 id;
stv0299_writereg(adapter, 0x02, 0x34); /* standby off */
- dvb_delay(200);
+ msleep(200);
id = stv0299_readreg(adapter, 0x00);
dprintk ("%s: id == 0x%02x\n", __FUNCTION__, id);