SOURCES: linux-2.6.17-cx88-tvaudio.patch (NEW) - fixes tv tuner au...

mguevara mguevara at pld-linux.org
Mon Sep 25 14:08:53 CEST 2006


Author: mguevara                     Date: Mon Sep 25 12:08:53 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes tv tuner audio problem on cx88 based cards (like Leadtek WinFast 
  PVR2000) - patch prepared against our 2.6.17 but should be easily ported 
  to 2.6.1{4,6,8} - important thing: we should cx_clear not cx_set the 
  certain register (see the patch) for our card to have tv audio.
  This patch clears the register by default, in later kernels there is 
  switch with cards ids - if you have no tv sound add your card id 
  for the cx_clear option.

---- Files affected:
SOURCES:
   linux-2.6.17-cx88-tvaudio.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/linux-2.6.17-cx88-tvaudio.patch
diff -u /dev/null SOURCES/linux-2.6.17-cx88-tvaudio.patch:1.1
--- /dev/null	Mon Sep 25 14:08:53 2006
+++ SOURCES/linux-2.6.17-cx88-tvaudio.patch	Mon Sep 25 14:08:47 2006
@@ -0,0 +1,18 @@
+--- linux-2.6.17/drivers/media/video/cx88/cx88-tvaudio.c.orig	2006-09-15 21:37:08.000000000 +0200
++++ linux-2.6.17/drivers/media/video/cx88/cx88-tvaudio.c	2006-09-15 22:05:19.000000000 +0200
+@@ -148,11 +148,10 @@
+ 
+ 	if (cx88_boards[core->board].blackbird) {
+ 		/* sets sound input from external adc */
+-		if (core->board == CX88_BOARD_HAUPPAUGE_ROSLYN)
+-			cx_clear(AUD_CTL, EN_I2SIN_ENABLE);
+-		else
+-			cx_set(AUD_CTL, EN_I2SIN_ENABLE);
+-
++		cx_clear(AUD_CTL, EN_I2SIN_ENABLE);
++#if 0
++		cx_set(AUD_CTL, EN_I2SIN_ENABLE);
++#endif
+ 		cx_write(AUD_I2SINPUTCNTL, 4);
+ 		cx_write(AUD_BAUDRATE, 1);
+ 		/* 'pass-thru mode': this enables the i2s output to the mpeg encoder */
================================================================


More information about the pld-cvs-commit mailing list