summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-tvaudio.c
AgeCommit message (Collapse)Author
2006-01-05Workaround to deal with the cx88 DMA code conflictsRicardo Cerqueira
From: Ricardo Cerqueira <v4l@cerqueira.org> Existing audio DMA uses conflict with cx88-alsa. This workaround disables that code if cx88-alsa is being compiled Signed-off-by:
2005-12-05Several fixes for Hauppauge Roselyn Design (blackbird)Mauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> - This patch adds eeprom awareness for the Roslyn. In effect, the blackbird will query the tuner V4L2_STD_xxxx definitions to determine whether it's connected to a NTSC or PAL tuner. Based on that, various default values will change for blackbird encoding. - Fixes back panel SVIDEO/COMPOSITE with audio, work properly. - Fixes a problem with lip sync issues, due to bad framerate vs audio rate assumptions. - Fixed a problem with the GPIO configuration in cx88-cards. - Removed the comments in cx88-cards that made no sense. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-18enabled audio DMA setting on cx88 chips, even when dma not in useMauro Carvalho Chehab
- enabled audio DMA transfer code even when DMA not in use to solve a problem on some broken cx88 chips. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-18Fixes nicam soundMauro Carvalho Chehab
From: Ian Pickworth <ian@pickworth.me.uk> - resolved problem of sporadic buzz after setting Nicam stereo - improved setting audio standard with dma reset - cleaned up comments format - more sensitive Nicam detection Signed-off-by: Ian Pickworth <ian@pickworth.me.uk> Signed-off-by: Michal Pytasz <pytasz@lodz.home.pl> Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl> Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-06- Improves the audio handling for NICAM on cx88 audio.Mauro Carvalho Chehab
Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-31 - correct nicam audio settings to match dscalerMichael Krufky
Thanks to: Ian Pickworth <ian@pickworth.me.uk> and Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
- Lots of small changes to allow compiling with kernel 2.4. Compilation result not tested yet. - After this patch, .version should be removed, since its syntax has changed. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-04 * cx88-tvaudio.c: (set_audio_registers), (set_audio_start),Nickolay V. Shmyrev
(set_audio_finish), (set_audio_standard_BTSC), (set_audio_standard_NICAM), (set_audio_standard_A2), (set_audio_standard_EIAJ), (set_audio_standard_FM), (cx88_detect_nicam), (cx88_set_tvaudio), (cx88_get_stereo), (cx88_set_stereo), (cx88_audio_thread): - Reindent cx88-tvaudio.c to keep coding style. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-09-10 - some clean up in cx88-tvaudio.cMauro Carvalho Chehab
- replaced hex values when writing to AUD_CTL to EN_xx for better reading. - Moved writing to register AUD_CTL from "set_audio_start" to "set_audio_finish". - Changed the order of writing Lang2 to work correctly - Added an "#if 0" to comment out existing code in "cx88_get_stereo" because simply reading from register "AUD_STATUS" is _not_ enough to auto-detect btsc-sap, dual-fm-stereo or nicam. It is simply not working. - Using "EN_A2_AUTO_STEREO" does not work. - Allow select by hand between Mono, Lang1, Lang2 and Stereo. - *Bad side effect* is now if I'm selecting for example stereo but it is not supported from tv-channel I'm currently receiving loud noise. Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-30Reversed PAL_I patch since it is broken.Mauro Carvalho Chehab
2005-08-30 * cx88-core.c: (set_tvaudio):Mauro Carvalho Chehab
* cx88-tvaudio.c: (set_audio_standard_NICAM), (set_audio_standard_A2), (set_audio_standard_FM), (cx88_detect_nicam), (cx88_set_tvaudio), (cx88_newstation), (cx88_set_stereo): * cx88.h: - Added nicam autodetection for PAL B/G/D/K/I/L. If it fails then falls back to fm / am mono audio. - Added debug messages about detecting state. - 'set_audio_standard_NICAM_L' and 'set_audio_standard_PAL_I' moved to 'set_audio_standard_A2' and 'set_audio_standard_NICAM' for cleaner code. - Changed some WW_xx values for better handling. - Added 'use_nicam' to 'core' to save nicam detecting state for later use in 'cx88_set_stereo'. - Not working: - Auto fall back to fm / am mono if transmitting quality goes bad. - A2 dual fm stereo auto detecting. Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-17 *cx88-reg.h:Mauro Carvalho Chehab
- Added some registers to control PCI controller at CX2388x chips. * cx88-tvaudio.c: - BTSC Lang1 now is set to auto_stereo mode. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-07 * cx88-tvaudio.c:Mauro Carvalho Chehab
- Support for BTSC improved. Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-07- Some clean up in cx88-tvaudio.cMauro Carvalho Chehab
- replaced hex values when writing to AUD_CTL to EN_xx for better reading. - Moved writing to register AUD_CTL from "set_audio_start" to "set_audio_finish". - Changed the order of writing Lang2 to work correctly - Added an "#if 0" to comment out existing code in "cx88_get_stereo" because simply reading from register "AUD_STATUS" is _not_ enough to auto-detect btsc-sap, dual-fm-stereo or nicam. It is simply not working. - Using "EN_A2_AUTO_STEREO" does not work. - Allow select by hand between Mono, Lang1, Lang2 and Stereo. - *Bad side effect* is now if I'm selecting for example stereo but it is not supported from tv-channel I'm currently receiving loud noise. Signed-off-by: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-15 - linux/version.h removed at linux-2.6.13-rc3-mm1.Mauro Carvalho Chehab
- Removed remaining trailing spaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-07scripts/buildpatch:Mauro Carvalho Chehab
- Added code to eliminate #if 0 and #if 1 when submiting pathes to new kernel. Miscelaneous CodingStyle stuff. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-05Deemphasis code for cx88 chipset implemented. Currently, not used.Mauro Carvalho Chehab
2005-06-03Mauro Chehab:Mauro Carvalho Chehab
* cx88-cards.c: - changed tuner number by it's name as defined on tuner.h. * scripts/make_kern_diff.sh - now it also makes diff for include files. Catalin Climov <catalin@climov.com>: * cx88-blackbird.c: - Blackbird firmware API cleanup, symbolic constants for param values. - improved readability and comprehensibility for api calls. * cx88-cards.c: - PVR2000 & MEC gpio fixes. * cx88-tvaudio.c: - enable sound input from external adc * cx88-video.c: - initialize the hue, contrast and brightness controls to default values * cx88-mpeg.c: - s/cx_write/cx_set for MO_TS_INTMSK, MO_DEV_CNTRL2, MO_TS_DMACNTRL
2005-03-07- cx88: stereo/bilang fix.Gerd Knorr
2005-02-22- misc fixes from various people.Gerd Knorr
- make or51132.c compile (not work) on 2.6.10.
2005-02-15- some powermanagement stuff.Gerd Knorr
- misc fixes. - fixup patch generation control files.
2005-02-14- cx88: more NICAM stuff.Gerd Knorr
- tuner: tda8290 fix.
2005-02-10- more nicam / pal-i stuff from Ian Pickworth.Gerd Knorr
2005-01-24- sync with 2.6.11-rc2 & latest dvb cvs.Gerd Knorr
- misc card-specific tweaks.
2005-01-20- cx88: pal-i fixes (Ian Pickworth).Gerd Knorr
- cx88: nicam-l fixes (Didier Caillaud). - cx88: misc minor fixes/cleanups.
2005-01-07- new bttv card (by Chris Fanning).Gerd Knorr
- misc.
2004-12-10- add moduleparam.h include to many files.Gerd Knorr
- some pinnacle 300i progress (can talk to mt352 now, not working yet through). - misc minor stuff.
2004-11-19- misc cleanups.Gerd Knorr
- blackbird + empress updates.
2004-10-25- cx88 try to make PAL-I sound work.Gerd Knorr
2004-10-13- kill trailing whitespaces.Gerd Knorr
2004-10-11- some powermanagement stuff.Gerd Knorr
- misc minor fixes.
2004-10-07- switch msp3400 + cx88 to 2.6-style module parameters.Gerd Knorr
2004-09-17- cx88: maybe fix nicam + pal-iGerd Knorr
- v4l2: mpeg api first cut
2004-09-15- added a bunch of $Id$ tags.Gerd Knorr
2004-08-26- cx88: Dvico FusionHDTV patches by Mac MichaelsGerd Knorr
2004-08-25- cx88: plenty of mpeg work. blackbird might even work withGerd Knorr
some luck. dvb needs more work.
2004-07-30- cx88: more reorganization + code shuffeling.Gerd Knorr
2004-07-29- cx88: big code reorganization.Gerd Knorr
- cx88: started merging blackbird patches, not working yet.
2004-07-23- add range check for cx88 card= insmod option.Gerd Knorr
- make cx88 tvaudio less verbose.
2004-05-24- added insmod option to disable saa7134 input device.Gerd Knorr
- card list updates. - cx88 alignment fix.
2004-04-23- cx88: MSI TVanywhere fixes from dscaler via Michal.Gerd Knorr
- cx88: fix nicam kernel oops.
2004-04-21- saa7134: new card entry (by m8923014@msg.ndhu.edu.tw).Gerd Knorr
- ir-kbd-i2c: new remote (also m8923014@msg.ndhu.edu.tw).
2004-04-19- cx88: some btsc-sap bits (not enabled yet).Gerd Knorr
- saa7134: new entry for the avermedia 305. - misc fixes.
2004-04-15- add audio status monitoring thread to cx88.Gerd Knorr
2004-04-13- cx88: some tvaudio code from dscaler cvs (btsc + nicam).Gerd Knorr
2004-04-08- cx88: more PAL-DK fixes.Gerd Knorr
2004-04-08- cx88: fix PAL-DK fm/stereo.Gerd Knorr
- misc.
2004-03-30- fix byte-wide register access in cx88.Gerd Knorr
2004-03-17- misc cx88 fixes.Gerd Knorr
2004-03-16- misc.Gerd Knorr