From: "Mirek Slugeň" <thunder.m@email.cz>
To: linux-dvb@linuxtv.org
Cc: linux-kernel@vger.kernel.org
Subject: [linux-dvb] PATCH: Leadtek DTVb1800H require longer delay for tuner reset
Date: Sun, 20 Mar 2011 23:05:00 +0100 [thread overview]
Message-ID: <4D867A0C.7050809@email.cz> (raw)
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
Hi,
I am using alot of tuners Leadtek DTV1800H under Linux, minimum 5
devices per one PC with kernel 2.6.37.4. I discovered bug which I can se
very often but not always. When device tuner is reseted there is not
enough time to do all needed stuff and sometimes (randomly) kernel show
this message:
[ 821.369647] cx88[0]/1: IRQ loop detected, disabling interrupts
Patch is again very simple, we need to adjust time in reset function
after cx_clear and cx_set calls from 50 to 75 us. I tested this patch on
4 PC with similar problems and all are without this issue.
M. Slugen
[-- Attachment #2: kernel_cx88_reset.diff --]
[-- Type: text/x-patch, Size: 533 bytes --]
diff -Naur linux-2.6.37.4.old//drivers/media/video/cx88/cx88-cards.c linux-2.6.37.4/drivers/media/video/cx88/cx88-cards.c
--- linux-2.6.37.4.old//drivers/media/video/cx88/cx88-cards.c 2011-03-20 21:30:52.000000000 +0100
+++ linux-2.6.37.4/drivers/media/video/cx88/cx88-cards.c 2011-03-20 22:25:54.710228001 +0100
@@ -3019,9 +3019,9 @@
cx_set(MO_GP1_IO, 0x1010);
mdelay(50);
cx_clear(MO_GP1_IO, 0x10);
- mdelay(50);
+ mdelay(75);
cx_set(MO_GP1_IO, 0x10);
- mdelay(50);
+ mdelay(75);
return 0;
}
return -EINVAL;
[-- Attachment #3: Type: text/plain, Size: 228 bytes --]
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
reply other threads:[~2011-03-20 22:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D867A0C.7050809@email.cz \
--to=thunder.m@email.cz \
--cc=linux-dvb@linuxtv.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox