summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/alps_tdmb7.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/alps_tdmb7.c')
-rw-r--r--linux/drivers/media/dvb/frontends/alps_tdmb7.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/alps_tdmb7.c b/linux/drivers/media/dvb/frontends/alps_tdmb7.c
index 54ac21eac..df95c64a6 100644
--- a/linux/drivers/media/dvb/frontends/alps_tdmb7.c
+++ b/linux/drivers/media/dvb/frontends/alps_tdmb7.c
@@ -167,8 +167,7 @@ int cx22700_init (struct dvb_i2c_bus *i2c)
cx22700_writereg (i2c, 0x00, 0x02); /* soft reset */
cx22700_writereg (i2c, 0x00, 0x00);
- set_current_state(TASK_INTERRUPTIBLE);
- schedule_timeout (1);
+ ddelay (HZ/100);
for (i=0; i<sizeof(init_tab); i+=2)
cx22700_writereg (i2c, init_tab[i], init_tab[i+1]);