summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
AgeCommit message (Collapse)Author
2005-08-30 * tuner-simple.c: (default_set_radio_freq):Michael Krufky
- The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> * cx88-video.c: (cx8800_resume): - removed trailing whitespace. * Changelog: - fixed some entries missing mchehab's login. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-08-30 - Some error treatment implemented at resume functions.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-17Small mpeg fixes and cleanups for blackbird.Catalin Climov
* cx88-blackbird.c: - fix mpeg packet size & count - add VIDIOC_QUERYCAP ioctl for the mpeg stream - return more information in struct v4l2_format - fix default window height * cx88-video.c: - small cleanups Signed-off-by: Catalin Climov <catalin@climov.com>
2005-08-17 * cx88-dvb.c: (lgdt330x_pll_set):Nickolay V. Shmyrev
* cx88-video.c: (video_release): * mt20xx.c: (microtune_init): * saa7134-video.c: (video_release): * tda8290.c: (standby), (tda8290_init): * tda9887.c: (tda9887_set_tvnorm), (tda9887_configure), (tda9887_command): * tea5767.c: (set_radio_freq), (tea5767_standby), (tea5767_tuner_init): * tuner-core.c: (set_addr), (check_mode), (set_mode), (tuner_command): * tuner-simple.c: (default_tuner_init): * tuner.h: - New tuner standby API.
2005-08-16Minor clean-ups: remove dcprintk and replace all instances of "dev->core"Catalin Climov
with "core".
2005-08-16Get rid of '//' comments, replace them with #if 0 and /**/.Catalin Climov
2005-08-16Some reorg: move some bits to struct cx88_core, factor out common ioctl'sCatalin Climov
to cx88_do_ioctl.
2005-08-16Prepare for factoring out some common code (see ChangeLog for details).Catalin Climov
2005-08-10 * cx88-video.c:Mauro Carvalho Chehab
- Added some comments about DMA stuff. - Removed obsolete code. * tea5761.c: - Removed an incorrect comment that cames from tea5767.c file. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-22 * cx88-video.c:Michael Krufky
- It is importand to write at first to MO_GP3_IO, see datasheet on page 77: "2.3.3 GPIO Normal Mode". Importand is Bit 25 (GP3_MODE), or it is already done in file "cx88-video.c" at "static int video_mux(struct cx8800_dev *dev, unsigned int input)". From: Torsten Seeboth <Torsten.Seeboth@t-online.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
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-132005-07-08 20:17 mchehabMauro Carvalho Chehab
* cx88-video.c: - After changing channels, reconfigure audio parameters. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-07 * cx88-core.c, cx88-mpeg.c, cx88-video.c, cx88.h:Mauro Carvalho Chehab
- Some debug structs moved to their own .c file and converted to static - some // comments converted to #if 0 * cx88-mpeg.c: - Small cleanup for thinks like 0<<14 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-07-05 Rename tuner structures fields. Move MD detection hack toNickolay V. Shmyrev
saa7134-cards.c
2005-07-04 * Makefile, saa7134-dvb.c:Michael Krufky
- Let Kconfig decide whether to include frontend-specific code in saa7134-dvb. * cx88-video.c: - added missing contrast offset value, set to 0. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-07-03 * cx88-video:Mauro Carvalho Chehab
* tuner-core.c: - Added some comments about I2C working mode. - Frequency initialized for radio and TV. * cx88-video: - It calls VIDIOC_G_FREQUENCY to get tuner freq from tuner. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-03 * bttv-i2c.c, cx88-i2c.c, saa7134-i2c.c:Mauro Carvalho Chehab
- I2C cleanups. Now, all drivers uses the same basic structure. * cx88-video.c: - Duplicated code commented. Should be removed soon. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-02 * bttv-cards.c, bttv-i2c.c, cx88-i2c.c, cx88-video.c:Nickolay V. Shmyrev
* saa7134-cards.c, saa7134-core.c, saa7134-i2c.c: * tuner-core.c, tuner.h: Rename v4l2_tuner field in tun_addr structure. Cleanup tuner private calls.
2005-06-29 Changed hue offset to 128 to correct its behavior for cx88 cards.Mauro Carvalho Chehab
Now, 50% Hue means no offset, just like bt878 stuff. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-28 * cx88-i2c.c, cx88-video.c, saa7134-i2c.c, tuner-core.c, tuner.h:Mauro Carvalho Chehab
- Improved support for multi tuners on multi boards. *tuner-core.c: - Pal M and PAL N added to tuner_fixup_std * tuner-simple.c: - Eliminated old tea code from tuner-simple. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-20 * cx88-cards.c, cx88-dvb.c, cx88-mpeg.c:Michael Krufky
* cx88-video.c, cx88.h, tuner.h: * CARDLIST.cx88: - Fix DViCO Board names as per email from DViCO Systems Software Engineer Jeff Lee: "DTT7611 model is 3Gold-T ... Temic 4042 is the 3Gold-Q model." Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-06-19 - Changing radio mode stereo/mono for tea5767 working.Mauro Carvalho Chehab
- is not clear at V4L1 API if VIDIOCSTUNER can change to mono. support for changing implemented anyway to allow radio st/mono switch. - Issue to solve: tea indicates stereo even when switched to mono. signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-19Added inicial support for changing radio mode stereo/mono for tea5767Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-17 * Make.config, Makefile, cx88-core.c, cx88-video.c:Nickolay V. Shmyrev
* cx88.h, msp3400.c, saa6752hs.c: * tda9887.c, tuner-core.c, tvaudio.c, tveeprom.c: - Remove unneeded config options. Now I2C_CLIENT_MULTI and I2C_NORMAL_RANGE is checked on the fly.
2005-06-17Fixes a bug on frequency report for cx88 based cards. This bug producesMauro Carvalho Chehab
error on tvtime like: Tuner refuses to tell us the current frequency: Invalid argument videoinput: Please file a bug report at http://tvtime.net/ Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-16 * cx88-video.c, saa7134-video.c, bttv-driver.c:Mauro Carvalho Chehab
- radio range is now defined on tuner-core.c. Cleaning up. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-15I2C API has changed on 2.6.12-rc6-mm1: I2C_CLIENT_INSMOD macro now doesn'tMauro Carvalho Chehab
require nor uses normal_i2c_range. A new define (CONFIG_USE_I2C_RANGE) is provided to provide compatibility. It is meant to be replaced by a kernel version test after aplyed to mainstream. This patch corrects it. High precision tunning on Radio is correclty supported. Some radio apps already uses it. There's an auto-detection process to check tuner range. Detailed info: * Make.config, Makefile, tuner-core.c: - CONFIG_TUNER_MULTI_I2C dropped from tuner-core.c and included on Make.config - included CONFIG_USE_I2C_RANGE for kernels that requires normal_i2c_range struct (only kernels after 2.6.12-rc6-mm1 doesn't require). * bt832.c, msp3400.c, saa6752hs.c, tda7432.c, tda9875.c, tda9887.c, tuner-core.c,tvaudio.c, tveeprom.c, - I2C range detection corrected to new behavior of 2.6.12-rc6-mm1 * cx88-video.c, tea5767, tuner-core.c: - V4L2_TUNER_CAP_LOW implemented according with V4L2 API for Radio. - tea5767 debug improved. * .bp/2.6/v4l-driver-doc - typo corrected. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-06-12 * audiochip.h, compat.h, cx22702.h, cx88-core.c, cx88-dvb.c,Mauro Carvalho Chehab
cx88-i2c.c, cx88-vbi.c, cx88-video.c, dpl3518.c, dpl3518.h, i2c-compat.h, id.h, msp3400.h, or51132.c, or51132.h, plx9054.h, rds-saa6588.c, saa7134-dvb.c, tda7432.c, tda9875.c, tvaudio.c, tveeprom.h, tvmixer.c, v4l1-compat.c, video-buf-dvb.h: - Minor changes to synchronize with -mm series; - PAL-60 code maintained for SAA7134. However, -mm has different values; - Now, every .c or .h file has cvs field ID.
2005-06-10Mostly corrected a bug when changing from audio <-> Tv mode and having ↵Mauro Carvalho Chehab
separated tuners. * tuner-core.c: - Improved debug for radio/TV tuner calls. - Corrected set radio/TV mode calls to change status go to both tuners. - Improved V4L2_TUNER_CAP_LOW support (tv_range hack) * tea5767.c: - Included a new debug message. * cx88-video.c: - Enabled V4L2_TUNER_CAP_LOW to radio.
2005-06-09tuner_core.c, cx88-video.c:Mauro Carvalho Chehab
- Add initial support for V4L2_TUNER_CAP_LOW. Still to be improved. - set_type call at set_addr fixed.
2005-06-08Lots of change to provide an elegant way to select radio I2C address.Mauro Carvalho Chehab
It should be better tested and expanded to other *-cards.c. * cx88-cards.c, cx88-core.c, cx88-i2c.c, cx88-video.c, cx88.h, tea5767.c, tuner-core.c, tuner-simple.c, tuner.h: - Improved radio tuner support. - There is a new option to cx88 radio=xxx,xxx,xxx for radio adapters; - cx88-boards now specifies radio_type, tuner_addr and radio_addr - ADDR_UNSET macro means find default radio/video tuner
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- minor cleanup.Gerd Knorr
2005-02-24- catch pci_map_sg failure.Gerd Knorr
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-01-31- whitespace cleanups.Gerd Knorr
2005-01-20- cx88: pal-i fixes (Ian Pickworth).Gerd Knorr
- cx88: nicam-l fixes (Didier Caillaud). - cx88: misc minor fixes/cleanups.
2005-01-04- fix irq initialization order bug.Gerd Knorr
2004-12-17- spinlock init cleanups.Gerd Knorr
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-12-02- fix memory leak in drivers.Gerd Knorr
2004-11-30- new cx88-based dvb card by Christopher Pascoe.Gerd Knorr
- cx88: IR support by Christopher Pascoe and me.
2004-11-19- misc cleanups.Gerd Knorr
- blackbird + empress updates.
2004-11-07- kill obsolete stuff.Gerd Knorr
2004-11-07- yet another video-buf interface change + fixups.Gerd Knorr
- move more modules to new-style insmod options.
2004-10-25- new saa7134 card by Nickolay V. ShmyrevGerd Knorr
- misc stuff
2004-10-19- saa7134 reorganiation for modular mpeg2 stuffGerd Knorr
- splitted some generic dvb code into the new video-buf-dvb module.
2004-10-15- fix cx88 polling.Gerd Knorr