public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xc5000.c xc_write_reg() wait time
@ 2008-07-31 22:16 Chaogui Zhang
  2008-08-01  1:38 ` Wanted 800i QAM tested - please reivew... Was: " Steven Toth
  0 siblings, 1 reply; 4+ messages in thread
From: Chaogui Zhang @ 2008-07-31 22:16 UTC (permalink / raw)
  To: video4linux-list; +Cc: linux-dvb

This patch fixes the incorrect wait time in xc_write_reg(). Before the
patch, my Pinnacle PCTV HD 800i cannot tune to any QAM channels. After
the patch, it found all the channels without problems.

This was previously submitted back in January, as part of a much
bigger patch involving other stuff. The other parts involve hybrid tuner 
instance handling, and some code clean up. The tuner instance handling
part is obsolete now since Mike Krufky's tuner refactoring code does
precisely that and in a more efficient way, even though the xc5000 tuner
code has not been modified to take advantage of that yet.

Just for reference, the previous patch in the following thread:

http://www.linuxtv.org/pipermail/linux-dvb/2008-January/023392.html

--

Signed-off-by: Chaogui Zhang <czhang1974@gmail.com>

diff -r 55e8c99c8aa8 linux/drivers/media/common/tuners/xc5000.c
--- a/linux/drivers/media/common/tuners/xc5000.c	Wed Jul 30 07:18:13 2008 -0300
+++ b/linux/drivers/media/common/tuners/xc5000.c	Thu Jul 31 17:43:31 2008 -0400
@@ -250,7 +250,7 @@
 						/* busy flag cleared */
 					break;
 					} else {
-						xc_wait(100); /* wait 5 ms */
+						xc_wait(5); /* wait 5 ms */
 						WatchDogTimer--;
 					}
 				}

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-01 13:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 22:16 [PATCH] xc5000.c xc_write_reg() wait time Chaogui Zhang
2008-08-01  1:38 ` Wanted 800i QAM tested - please reivew... Was: " Steven Toth
2008-08-01  5:01   ` [linux-dvb] " Andreas
2008-08-01 13:52     ` Steven Toth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox