summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/msp3400-driver.c
AgeCommit message (Collapse)Author
2005-12-10Replaces MAX()/MIN() by kernel.h max()/min() macrosMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-10make tree to compile against kernel 2.5.31Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07#elifs replaced since gentree.pl script is not able to handle elifs.Mauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-04Restore 2.4 support for msp3400.cHans Verkuil
Restore 2.4 support for msp3400.c. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-02fix compile error, remove dead code and volume scalingHans Verkuil
Fix compile error (missing '}') in em28xx-video.c. Remove dead code and volume scaling from msp3400.c. Volume scaling does not belong there, it should be done in the driver for the card that uses the msp3400 if needed, not in the msp3400.c source. The volume scaling code gave problems with the ivtv driver which does not need to do any scaling. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-12-02Fixed device controls for em28xx on WinTV USB2 devicesMauro Carvalho Chehab
- Controls now come from video and audio decoder driver for msp3400 and tvp5150. - Added audio and sound controls as provided by msp3400 and tvp5150. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-27Fix gcc-4.0.2 compile error in msp3400.cHans Verkuil
Fix gcc-4.0.2 compile error in msp3400.c. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-11-27Fix suspend/resume 2.6.15 compile warningsHans Verkuil
Fix suspend/resume 2.6.15 compile warnings. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2005-11-06 - #elsif removed, since it breaks gentree stuff.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-06- msp3400 code cleanupsMauro Carvalho Chehab
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-06- Improves msp3400 debug messages.Mauro Carvalho Chehab
Now, all kernel message in msp3400.c use the same prefix and include the I2C bus to differentiate between multiple msp3400 I2C chips. - Correctly prints the chip identifier for the msp44xx chips. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-06- Adds missing msp34xxg_reset to VIDIOC_S_STD (just like VIDIOCSCHAN).Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-05- Fixes set_scart parameter definitions and AUDOUT ioctlMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-04- Adds support for digital output for WinTV USB2 board.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-03- em28xx cleanups and fixes.Mauro Carvalho Chehab
- Some cleanups and audio amux adjust. - em28xx will allways try, by default, the biggest size alt. - Fixes audio mux code. - Fixes some logs. - added a hack to allow using I2S output (commented). Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-30 - Second round of i2c IDs redefinition cleanup.Mauro Carvalho Chehab
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16 - after msp34xxg_reset, msp_wake_thread should be called toMauro Carvalho Chehab
activate autodetection again. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-14Log message:Mauro Carvalho Chehab
- This fixes dual language detection on the msp3400. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-10 - Some fixups for 2.4 kernel.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-10 - More improvements at msp3400.c from ivtv code.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-10 - Some improvements at msp3400.c from ivtv code.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
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-06 * msp3400.c: (msp_detach):Michael Krufky
- check ->kthread correctly Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-28- Some V4L2 API calls implemented on msp3400.c.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-09-13 * bt832.c: (bt832_probe):Michael Krufky
* bttv-i2c.c: (attach_inform): * cx88-i2c.c: (attach_inform), (detach_inform): * id.h: * ir-kbd-i2c.c: (ir_probe): * msp3400.c: (msp34xx_sleep), (msp_attach): * saa6588.c: * saa6752hs.c: * saa7134-i2c.c: (attach_inform): * saa7134-tvaudio.c: (tvaudio_sleep): * tda7432.c: (tda7432_probe): * tda9875.c: (tda9875_probe): * tda9887.c: (tda9887_probe): * tuner-core.c: * tveeprom.c: (tveeprom_attach_adapter): * tvmixer.c: (tvmixer_ioctl), (tvmixer_clients), (tvmixer_cleanup_module): * video-buf.c: (videobuf_dma_free): - Step two, in preparation for 2.6.14-rcX compatability: - Compile tested against vanila kernels 2.6.13 & 2.6.8 - 2.6.14 compile still broken... Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-13 * bttv-cards.c, bttv-driver.c:Michael Krufky
* msp3400.c, tda9887.c, tuner-core.c: - Step one, in preparation for 2.6.14-rcX compatability: -#ifdef MM_KERNEL +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13) Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-09-04- Small changes to make easier to generate kernel patches.Mauro Carvalho Chehab
2005-09-02- added some missing parameter descriptions at msp3400.cMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-20- Changes the prefix to 'msp34xx' instead of 'msp3400'.Mauro Carvalho Chehab
- Changes the message 'error while reading chip version' to a debug printk at msp3400.c Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-30 * bttv-driver.c, msp3400.c, tda9887.c, tuner-core.c:Michael Krufky
* Makefile, scripts/merge-trees.sh, scripts/unmerge-trees.sh: - Fix cvs compile to work for both latest -linus and -mm trees. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-07-30fixed cvs compile for 2.6.13Michael Krufky
2005-07-25 * msp3400.c:Mauro Carvalho Chehab
- try_to_freeze moved to the right place. * tvaudio.c: - Tvaudio lacks a refrigerator call. This patch fixes that. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Nigel Cunningham <ncunningham@suspend2.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> CVSi- ce.
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-15 * bttv-driver.c, msp3400.c, tda9887.c, tuner-core.c:Mauro Carvalho Chehab
- driver.suspend API modified at 2.6.13-rc3-mm1. - Warnings removed when compiling against 2.6.13-rc3-mm1. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-07-07 * lgdt3302.c:Michael Krufky
- Fix bug in lgdt3302_read_status to return correct FE_HAS_SIGNAL and FS_HAS_CARRIER status. * msp3400.c, saa7134-cards.c, saa7134-i2c.c: * tuner-simple.c, video-buf-dvb.c: - Remove trailing whitespace. Signed-off-by: Mac Michaels <wmichaels1@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-07-06 * msp3400.c video-buf-dvb.c:Nickolay V. Shmyrev
- Fix build with 2.6.13. * cx22702.c: - Remove unused field id that cause build problems. Signed-Off-By: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-06-18 * dpl3518.c, msp3400-old.c, msp3400.c, saa6752hs.c, tda9887.c:Nickolay V. Shmyrev
* tuner-core.c, tvaudio.c, tveeprom.c: - Up requirement on kernel version to remove normal_i2c_range. Actually it gives nothing, only remove unused static structure so it's used as a reminder. - Fix compilation.
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-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-02-10- pcHDTV HD3000 support (by Rusty Scott).Gerd Knorr
2005-02-09- attempt #1 to fix "simpler" mode (based on patches by Jan Nikitenko).Gerd Knorr
2005-01-13- card-specific and other fixes from various people.Gerd Knorr
- more pinnacle 300i work (still not functional :-/).
2004-12-17- misc fixes.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-09- work on dvb pll stuff.Gerd Knorr
- misc dvb updates. - pinnacle 300i stuff (not working yet).
2004-12-07- misc minor stuff.Gerd Knorr
2004-11-19- misc cleanups.Gerd Knorr
- blackbird + empress updates.
2004-11-03- cx88: fix/add dvb cards by Christopher PascoeGerd Knorr
- saa7134: new card - misc minor fixes.
2004-10-15- fix cx88 polling.Gerd Knorr