summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-04-21 08:48:39 +0000
committerGerd Knorr <devnull@localhost>2004-04-21 08:48:39 +0000
commitce363dd37d15127240399cb4ba3fd3a581ef73ee (patch)
treea1cec1fd0ebc4043050cc82175a5599d051b5681 /linux/drivers/media/video/cx88
parent293b5af7d5f78c01617ad8b2eb83c903b98fed61 (diff)
downloadmediapointer-dvb-s2-ce363dd37d15127240399cb4ba3fd3a581ef73ee.tar.gz
mediapointer-dvb-s2-ce363dd37d15127240399cb4ba3fd3a581ef73ee.tar.bz2
- saa7134: new card entry (by m8923014@msg.ndhu.edu.tw).
- ir-kbd-i2c: new remote (also m8923014@msg.ndhu.edu.tw).
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-tvaudio.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-tvaudio.c b/linux/drivers/media/video/cx88/cx88-tvaudio.c
index 3dfb9c9a2..25d83e754 100644
--- a/linux/drivers/media/video/cx88/cx88-tvaudio.c
+++ b/linux/drivers/media/video/cx88/cx88-tvaudio.c
@@ -48,6 +48,7 @@
#include <linux/interrupt.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
+#include <linux/smp_lock.h>
#include "cx88.h"
@@ -244,10 +245,17 @@ static void set_audio_standard_BTSC(struct cx8800_dev *dev, unsigned int sap)
// dscaler: exactly taken from driver,
// dscaler: don't know why to set EN_FMRADIO_EN_RDS
- dprintk("%s (status: known-good)\n",__FUNCTION__);
- set_audio_start(dev, 0x0001,
- EN_FMRADIO_EN_RDS | EN_BTSC_AUTO_STEREO);
- set_audio_registers(dev, btsc);
+ if (sap) {
+ dprintk("%s SAP (status: unknown)\n",__FUNCTION__);
+ set_audio_start(dev, 0x0001,
+ EN_FMRADIO_EN_RDS | EN_BTSC_FORCE_SAP);
+ set_audio_registers(dev, btsc_sap);
+ } else {
+ dprintk("%s (status: known-good)\n",__FUNCTION__);
+ set_audio_start(dev, 0x0001,
+ EN_FMRADIO_EN_RDS | EN_BTSC_AUTO_STEREO);
+ set_audio_registers(dev, btsc);
+ }
set_audio_finish(dev);
}