diff options
author | Michael Hunold <devnull@localhost> | 2004-08-18 17:44:05 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-08-18 17:44:05 +0000 |
commit | f9c9715b78a31c76a7c71f20925831cfe2c65506 (patch) | |
tree | e4da1641d7fbcff9933da75a2f532f3a813b547d /linux/drivers/media/dvb/frontends/dst.c | |
parent | 0ec6de1c0fd4aee2037559520db72b6271f2fba3 (diff) | |
download | mediapointer-dvb-s2-f9c9715b78a31c76a7c71f20925831cfe2c65506.tar.gz mediapointer-dvb-s2-f9c9715b78a31c76a7c71f20925831cfe2c65506.tar.bz2 |
- nuke dvb functions stuff
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dst.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/dst.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/linux/drivers/media/dvb/frontends/dst.c b/linux/drivers/media/dvb/frontends/dst.c index 17ea19740..820594b90 100644 --- a/linux/drivers/media/dvb/frontends/dst.c +++ b/linux/drivers/media/dvb/frontends/dst.c @@ -179,12 +179,12 @@ static int dst_reset8820(struct dst_data *dst) retval = dst_gpio_outb(dst, DST_8820, DST_8820, 0); if (retval < 0) return retval; - dvb_delay(10); + msleep(10); retval = dst_gpio_outb(dst, DST_8820, DST_8820, DST_8820); if (retval < 0) return retval; /* wait for more feedback on what works here * - dvb_delay(10); + msleep(10); retval = dst_gpio_outb(dst, DST_8820, DST_8820, 0); if (retval < 0) return retval; @@ -201,7 +201,7 @@ static int dst_i2c_enable(struct dst_data *dst) if (retval < 0) return retval; // dprintk ("%s: i2c enable delay\n", __FUNCTION__); - dvb_delay(33); + msleep(33); return 0; } @@ -214,7 +214,7 @@ static int dst_i2c_disable(struct dst_data *dst) if (retval < 0) return retval; // dprintk ("%s: i2c disable delay\n", __FUNCTION__); - dvb_delay(33); + msleep(33); return 0; } @@ -231,7 +231,7 @@ static int dst_wait_dst_ready(struct dst_data *dst) dprintk("%s: dst wait ready after %d\n", __FUNCTION__, i); return 1; } - dvb_delay(5); + msleep(5); } dprintk("%s: dst wait NOT ready after %d\n", __FUNCTION__, i); return 0; @@ -253,14 +253,14 @@ static int write_dst(struct dst_data *dst, u8 * data, u8 len) } dprintk("\n"); } - dvb_delay(30); + msleep(30); for (cnt = 0; cnt < 4; cnt++) { if ((err = i2c_transfer(dst->i2c, &msg, 1)) < 0) { dprintk("%s: write_dst error (err == %i, len == 0x%02x, b0 == 0x%02x)\n", __FUNCTION__, err, len, data[0]); dst_i2c_disable(dst); - dvb_delay(500); + msleep(500); dst_i2c_enable(dst); - dvb_delay(500); + msleep(500); continue; } else break; @@ -541,7 +541,7 @@ static int dst_check_ci(struct dst_data *dst) dprintk("%s: write not successful, maybe no card?\n", __FUNCTION__); return retval; } - dvb_delay(3); + msleep(3); retval = read_dst(dst, rxbuf, 1); dst_i2c_disable(dst); if (retval < 0) { @@ -605,7 +605,7 @@ static int dst_command(struct dst_data *dst, u8 * data, u8 len) dprintk("%s: write not successful\n", __FUNCTION__); return retval; } - dvb_delay(33); + msleep(33); retval = read_dst(dst, &reply, 1); dst_i2c_disable(dst); if (retval < 0) { @@ -852,7 +852,7 @@ static int dst_write_tuna(struct dst_data *dst) dprintk("%s: write not successful\n", __FUNCTION__); return retval; } - dvb_delay(3); + msleep(3); retval = read_dst(dst, &reply, 1); dst_i2c_disable(dst); if (retval < 0) { |