Skip to contentSkip to conversation

dvb/budget: replace schedule_timeout() with msleep()

PATCH In review [email protected] 1 participant 1 message Sep 23, 2004 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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.

---

 linux-2.6.9-rc2-bk7-max/drivers/media/dvb/ttpci/budget.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb/ttpci/budget.c renamed from drivers/media/dvb/ttpci/budget.c~msleep-drivers_media_dvb_ttpci_budget +1 -1
diff -puN drivers/media/dvb/ttpci/budget.c~msleep-drivers_media_dvb_ttpci_budget drivers/media/dvb/ttpci/budget.c
@@ -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;

_