Skip to contentSkip to conversation

dvb/budget-ci: replace schedule_timeout()

PATCH New Nishanth Aravamudan 1 participant 1 message Jul 26, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dvb/budget-ci: replace schedule_timeout()

Sorry, this applies to budget-ci.c not ves1x93.c

Quoted 25 lines · Nishanth Aravamudan

I would appreciate any comments from the janitors list.

Thanks,
Nish

Applys-to: 2.6.7

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

drivers/media/dvb/ttpci/budget-ci.c +1 -1
@@ -326,7 +326,7 @@ static int ciintf_slot_reset(struct dvb_
 	saa7146_setgpio(saa, 0, SAA7146_GPIO_IRQHI);
 	budget_ci->slot_status = SLOTSTATUS_RESET;
 	budget_debiwrite(budget_ci, DEBICICTL, DEBIADDR_CICONTROL, 1, 0);
-	dvb_delay(1);
+	msleep(1);
 	budget_debiwrite(budget_ci, DEBICICTL, DEBIADDR_CICONTROL, 1, CICONTROL_RESET);
 
 	saa7146_setgpio(saa, 1, SAA7146_GPIO_OUTHI);

drivers/media/dvb/ttpci/budget-ci.c static void ciintf_deinit(struct budget_ · line 481

Quoted 8 lines
drivers/media/dvb/ttpci/budget-ci.c +1 -1
@@ -475,7 +475,7 @@ static void ciintf_deinit(struct budget_
 	saa7146_setgpio(saa, 0, SAA7146_GPIO_INPUT);
 	tasklet_kill(&budget_ci->ciintf_irq_tasklet);
 	budget_debiwrite(budget_ci, DEBICICTL, DEBIADDR_CICONTROL, 1, 0);
-	dvb_delay(1);
+	msleep(1);
 	budget_debiwrite(budget_ci, DEBICICTL, DEBIADDR_CICONTROL, 1, CICONTROL_RESET);
 
 	// disable TS data stream to CI interface

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors