2004-09-23 21:13:25

by maximilian attems

[permalink] [raw]
Subject: [patch 18/20] dvb/budget: replace schedule_timeout() with msleep()







I would appreciate any comments from the janitor@sternweltens list.

Thanks,
Nish



Description: Replace dvb_delay() with msleep() to guarantee the
task delays the desired time.

Signed-off-by: Nishanth Aravamudan <[email protected]>
Signed-off-by: Maximilian Attems <[email protected]>

---

linux-2.6.9-rc2-bk7-max/drivers/media/dvb/ttpci/budget.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/media/dvb/ttpci/budget.c~msleep-drivers_media_dvb_ttpci_budget drivers/media/dvb/ttpci/budget.c
--- linux-2.6.9-rc2-bk7/drivers/media/dvb/ttpci/budget.c~msleep-drivers_media_dvb_ttpci_budget 2004-09-21 20:50:26.000000000 +0200
+++ linux-2.6.9-rc2-bk7-max/drivers/media/dvb/ttpci/budget.c 2004-09-21 20:50:26.000000000 +0200
@@ -100,7 +100,7 @@ static int SendDiSEqCMsg (struct budget
udelay(12500);
saa7146_setgpio(dev, 3, SAA7146_GPIO_OUTLO);
}
- dvb_delay(20);
+ msleep(20);
}

return 0;
_