* [Kernel-janitors] [PATCH] dvb/av7110: replace schedule_timeout()
@ 2004-07-26 17:54 Nishanth Aravamudan
0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Aravamudan @ 2004-07-26 17:54 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
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 <nacc@us.ibm.com>
--- linux-vanilla/drivers/media/dvb/ttpci/av7110.c 2004-06-16 05:19:37.000000000 +0000
+++ linux-dev/drivers/media/dvb/ttpci/av7110.c 2004-07-02 18:47:02.000000000 +0000
@@ -89,7 +89,7 @@ static void recover_arm(struct av7110 *a
DEB_EE(("av7110: %p\n",av7110));
av7110_bootarm(av7110);
- dvb_delay(100);
+ msleep(100);
restart_feeds(av7110);
av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, SetIR, 1, av7110->ir_config);
}
@@ -1510,7 +1510,7 @@ err3:
av7110->arm_rmmod = 1;
wake_up_interruptible(&av7110->arm_wait);
while (av7110->arm_thread)
- dvb_delay(1);
+ msleep(1);
err2:
av7110_ca_exit(av7110);
av7110_av_exit(av7110);
@@ -1546,7 +1546,7 @@ static int av7110_detach (struct saa7146
wake_up_interruptible(&av7110->arm_wait);
while (av7110->arm_thread)
- dvb_delay(1);
+ msleep(1);
dvb_unregister(av7110);
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Kernel-janitors] [PATCH] dvb/av7110: replace schedule_timeout()
@ 2004-08-14 18:48 maximilian attems
0 siblings, 0 replies; 2+ messages in thread
From: maximilian attems @ 2004-08-14 18:48 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]
On Mon, 26 Jul 2004, 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 <nacc@us.ibm.com>
>
>
> --- linux-vanilla/drivers/media/dvb/ttpci/av7110.c 2004-06-16 05:19:37.000000000 +0000
> +++ linux-dev/drivers/media/dvb/ttpci/av7110.c 2004-07-02 18:47:02.000000000 +0000
> @@ -89,7 +89,7 @@ static void recover_arm(struct av7110 *a
> DEB_EE(("av7110: %p\n",av7110));
>
> av7110_bootarm(av7110);
> - dvb_delay(100);
> + msleep(100);
one of the rare trailing space.
> restart_feeds(av7110);
> av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, SetIR, 1, av7110->ir_config);
> }
> @@ -1510,7 +1510,7 @@ err3:
> av7110->arm_rmmod = 1;
> wake_up_interruptible(&av7110->arm_wait);
> while (av7110->arm_thread)
> - dvb_delay(1);
> + msleep(1);
> err2:
> av7110_ca_exit(av7110);
> av7110_av_exit(av7110);
> @@ -1546,7 +1546,7 @@ static int av7110_detach (struct saa7146
> wake_up_interruptible(&av7110->arm_wait);
>
> while (av7110->arm_thread)
> - dvb_delay(1);
> + msleep(1);
>
> dvb_unregister(av7110);
>
corrected for next kjt.
a++ maks
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-14 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-26 17:54 [Kernel-janitors] [PATCH] dvb/av7110: replace schedule_timeout() Nishanth Aravamudan
-- strict thread matches above, loose matches on Subject: below --
2004-08-14 18:48 maximilian attems
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.