summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-i2c.c
AgeCommit message (Collapse)Author
2006-06-24cx88: cleanupsMichael Krufky
From: Adrian Bunk <bunk@stusta.de> remove the following unused hooks: - cx88-blackbird.c: cx88_ioctl_hook() - cx88-blackbird.c: cx88_ioctl_translator() make the following needlessly global functions static: - cx88-tvaudio.c: cx88_detect_nicam() remove the following unused EXPORT_SYMBOL's: - cx88-cards.c: cx88_bcount - cx88-cards.c: cx88_subids - cx88-cards.c: cx88_idcount - cx88-cards.c: cx88_card_list - cx88-cards.c: cx88_card_setup - cx88-core.c: cx88_start_audio_dma - cx88-core.c: cx88_stop_audio_dma - cx88-i2c.c: cx88_i2c_init Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-14Change dvb_frontend_ops to be a real field instead of a pointer field inside ↵Patrick Boettcher
dvb_frontend From: Patrick Boettcher <pb@linuxtv.org> The dvb_frontend_ops is a pointer inside dvb_frontend. That's why every demod-driver is having a field of dvb_frontend_ops in its private-state-struct and using the reference for filling the pointer-field in dvb_frontend. - It saves at least two lines of code per demod-driver, - reduces object size (one less dereference per frontend_ops-access), - be coherent with dvb_tuner_ops, - makes it a little bit easier for newbies to understand how it works and - avoids stupid mistakes because you would have to copy the dvb_frontend_ops always, before you could assign the static pointer directly, which was dangerous. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-03fix build for older gcc's that dont support compiler macros in a function callMichael Krufky
From: Julian Scheel <julian@jusst.de> This patch fixes the build when using older gcc-versions which do not support compiler-macros in a function-call. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-11Since we are not using CVS, $Id makes no sense anymoreMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-07Some cleanups at I2C modulesMauro Carvalho Chehab
- Latest patch reverted, since __stringfy seems to be needed for kernel < 2.6.15 - Applied kernel I2C cleanups from Jean Delaware. - driver names simplified to allow usage of newer printk macros at v4l2-common.h Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2006-01-01ioctls cleanups.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-25replace <media/i2c-compat.h> with "i2c-compat.h"Michael Krufky
-#include <media/i2c-compat.h> +#include "i2c-compat.h" Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-02fixed v4l-only build. (Build v4l modules without dvb support)Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-02Cleanup check for dvb.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-02Adding support for the Hauppauge HVR1100 and HVR1100-LP products.Michael Krufky
From: Steven Toth <stoth@hauppauge.com> - Add support for the Hauppauge HVR1100 and HVR1100-LP products. - Add i2c_gate_ctrl callback function to dvb_frontend_ops struct. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. 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-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-07-25Rename lgdt3302 to lgdt330x.Michael Krufky
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-05 Rename tuner structures fields. Move MD detection hack toNickolay V. Shmyrev
saa7134-cards.c
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-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-17 * Makefile, cx88-cards.c, cx88-dvb.c, cx88-i2c.c, cx88-mpeg.c, dvb-pll.c, ↵Michael Krufky
dvb-pll.h, lgdt3302.c, lgdt3302.h, lgdt3302_priv.h - added support for LGDT3302 demod for cx88 cards: DViCO FusionHDTV 3 Gold Signed-off-by: Mac Michaels <wmichaels1@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net> * Make.config - Allow DVB to compile if kernel is later than 2.6.10
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-12 * tuner-core.c:Mauro Carvalho Chehab
- Solved a problem when compiling with some versions of gcc - Solved a problem compiling without CONFIG_TUNER_MULTI_I2C - cx88-i2c.c, saa7134-i2c.c: - Make it compatible with kernel 2.6.12-rc6-mm1
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-02-15- merge some patches from mainline.Gerd Knorr
- tuner kernel message fixups. - 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-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-10-06- bttv: irq fixes.Gerd Knorr
- add i2c scans.
2004-09-23- make video-bufg don't touch struct file any more, pass throughGerd Knorr
a void ptr instead of a file ptr everythere. - add cx22702 fe driver,
2004-09-20- bttv: dark red image fixed (thanks to jeremy smith).Gerd Knorr
- misc cx88 tweaks.
2004-09-16- bttv: fix planat capture.Gerd Knorr
- bttv: add risc buffer size sanity checks.
2004-09-15- added a bunch of $Id$ tags.Gerd Knorr
2004-09-15- bttv: fix planar capture oops.Gerd Knorr
- cx88: make dvb driver quiet. - cx88: some i2c init/exit fixes.
2004-09-10- cx88: i2c fixups.Gerd Knorr
2004-08-31- cx88: merge dvb patches (by Christopher Pascoe), step one.Gerd Knorr
- cx88: added some code lines for error stats.
2004-07-29- cx88: big code reorganization.Gerd Knorr
- cx88: started merging blackbird patches, not working yet.
2004-07-07- saa7134: add automute option.Gerd Knorr
- tda9887: add config i2c command.
2004-06-08- update i2c stuff for the changes in upcoming 2.6.7Gerd Knorr
2004-04-28- add bt878-based dvb card.Gerd Knorr
2004-03-30- fix buffer overflow in cx8800_i2c_init.Gerd Knorr
2004-03-05- more cards supported in ir-kbd-gpio.cGerd Knorr
- add magics to video-buf structs. - fix saa7134 oss driver spinlocks. - misc minor stuff.
2004-02-22Initial revisionGerd Knorr