diff options
author | Gerd Knorr <devnull@localhost> | 2004-09-03 14:54:46 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-09-03 14:54:46 +0000 |
commit | 7d99c0c2c5a91c24fef90ed9953d36fdac03e1be (patch) | |
tree | 64a719b1084bbcee6066f19c34d646eb2bd6b9e4 /linux/drivers/media/video/saa7134/saa7134-ts.c | |
parent | 956b9bf78cf08acce7971151681d7c6a67dd7682 (diff) | |
download | mediapointer-dvb-s2-7d99c0c2c5a91c24fef90ed9953d36fdac03e1be.tar.gz mediapointer-dvb-s2-7d99c0c2c5a91c24fef90ed9953d36fdac03e1be.tar.bz2 |
- msleep() cleanups from kernel janitors.
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-ts.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-ts.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-ts.c b/linux/drivers/media/video/saa7134/saa7134-ts.c index 9e1e0e296..aa0f5faf5 100644 --- a/linux/drivers/media/video/saa7134/saa7134-ts.c +++ b/linux/drivers/media/video/saa7134/saa7134-ts.c @@ -178,10 +178,9 @@ static struct videobuf_queue_ops ts_qops = { static void ts_reset_encoder(struct saa7134_dev* dev) { saa_writeb(SAA7134_SPECIAL_MODE, 0x00); - mdelay(10); + msleep(10); saa_writeb(SAA7134_SPECIAL_MODE, 0x01); - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(HZ/10); + msleep(100); } static int ts_init_encoder(struct saa7134_dev* dev, void* arg) |