From: Nishanth Aravamudan Date: Mon, 26 Jul 2004 17:58:34 +0000 Subject: [Kernel-janitors] [PATCH] dvb/budget-ci: replace schedule_timeout() Message-Id: <20040726175834.GW1897@us.ibm.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============40119961893147926==" List-Id: To: kernel-janitors@vger.kernel.org --===============40119961893147926== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sorry, this applies to budget-ci.c not ves1x93.c On Mon, Jul 26, 2004 at 10:56:15AM -0700, Nishanth Aravamudan wrote: > 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. > > Signed-off-by: Nishanth Aravamudan > > > --- linux-vanilla/drivers/media/dvb/ttpci/budget-ci.c 2004-06-16 05:18:58.000000000 +0000 > +++ linux-dev/drivers/media/dvb/ttpci/budget-ci.c 2004-07-02 20:28:59.000000000 +0000 > @@ -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); > @@ -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 --===============40119961893147926== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============40119961893147926==--