dvb/budget-ci: replace schedule_timeout()
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,
NishApplys-to: 2.6.7
Description: Replace
dvb_delay()withmsleep()to guarantee the task delays the desired time.Signed-off-by Nishanth Aravamudan <[email protected]>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