diff options
author | Michael Hunold <devnull@localhost> | 2003-04-26 11:23:43 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-04-26 11:23:43 +0000 |
commit | b80a49661205204e9e4fdd47f887355f543ba4ad (patch) | |
tree | 727a36b8683397e630e1a61187668977db74390b /linux/drivers/media/dvb/frontends/cx24110.c | |
parent | 3e4b7360a384416bdb35dded255c518c3863759e (diff) | |
download | mediapointer-dvb-s2-b80a49661205204e9e4fdd47f887355f543ba4ad.tar.gz mediapointer-dvb-s2-b80a49661205204e9e4fdd47f887355f543ba4ad.tar.bz2 |
Revert ddelay() cleanup, discuss this first with Holger.
Diffstat (limited to 'linux/drivers/media/dvb/frontends/cx24110.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/cx24110.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24110.c b/linux/drivers/media/dvb/frontends/cx24110.c index 5299a3783..534371c54 100644 --- a/linux/drivers/media/dvb/frontends/cx24110.c +++ b/linux/drivers/media/dvb/frontends/cx24110.c @@ -245,9 +245,7 @@ int cx24108_set_tv_freq (struct dvb_i2c_bus *i2c, u32 freq) cx24108_write(i2c,pll); cx24110_writereg(i2c,0x56,0x7f); - /* wait a moment for the tuner pll to lock */ - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout (10); + ddelay(HZ/10); /* wait a moment for the tuner pll to lock */ /* tuner pll lock can be monitored on GPIO pin 4 of cx24110 */ while(!(cx24110_readreg(i2c,0x66)&0x20)&&i<1000) i++; |