summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-i2c.c
AgeCommit message (Collapse)Author
2008-01-27[PATCH] static memoryDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@gmail.com> - Static memory is always initialized with 0. - Replaced in some cases C99 comments for /* */ Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-11-11Cleanup at tv norm selectionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> With the conversion to the vidio_ioctl2, tvnorms array is not required anymore. Also, removed some code from V4L1 time (VIDEO_MODE_foo), specied at the non-used video_decoder.h. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-04em28xx: autodetect Cinergy 200 USB and VGear PocketTVMauro Carvalho Chehab
From: Sascha Sommer <saschasommer@freenet.de> Adds autodetection support for the Cinergy200 USB and the VGear PocketTV. Whenever a usb device with generic empia em2800 usb ids is detected the device gets scanned for connected i2c devices. If the device list matches an em2800 device in the device list the model id gets changed accordingly. Signed-off-by: Sascha Sommer <saschasommer@freenet.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-03Add a hint for boards without unique USB IDMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch adds a function to allow trying to detect boards that shares the generic IDs. The current detection method is based at eeprom checksum. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-02Add the remaining addresses for tda9887Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-02Fix a regression caused by commit 153962364dc6fa4a24571885fbe76506d8968610Mauro Carvalho Chehab
From: Ludovico Cavedon <cavedon@sssup.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-30Add support for analog tv on HVR-950Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch adds USB ID for HVR-950. It also adds the callback for handling firmware loading. Thanks to Markus Reichberger for the reset commands. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-18Replace TDA9887_SET_CONFIG by TUNER_SET_CONFIGMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Currently, the only tuner-specific device that allows special configurations is tda9887. However, tea5767 also may require some special configurations (for example, to specify a different Xtal freq). This patch replaces TDA9887_SET_CONFIG by a more generic internal ioctl (TUNER_SET_CONFIG). The newer one allows specifying what tuner is appliable to a configuration set, and allows an arbitrary configuration struct. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-17backport changeset 3be27d37c257fa5f99363f9c8e06e405cbad712eMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original description: i2c: Remove NOP i2c_algorithm.algo_control() methods This removes NOP implementations of i2c_algorithm.algo_control. With this change, there are no implementations of this hook in the kernel.org tree ... that hook seems about ripe to remove. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-13Backport kernel changeset beb7dd86a101263bf63a78c7c6d4da3849b35bd6Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: The original patch is from Robert P. J. Day <rpjday@mindspring.com>: Fix misspellings collected by members of KJ list. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-29Use ARRAY_SIZE instead of a magic numberMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-23Merge tda9887 module into tuner.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Most uses a tda988[5/6/7] IF demodulator as part of the device. Having this as a separate stuff makes harder to configure it, since there are some tda9887 options that are tuner-dependent and should be bound into tuner-types structures. This patch merges tda9887 module into tuner. More work is required to make tuner-types to properly use it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-03Change all emails to the currently used one.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-03fixed i2c return value, conversion mdelay to msleepMarkus Rechberger
From: Markus Rechberger <mrechberger@gmail.com> fixed i2c return value, conversion mdelay to msleep Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
2006-02-01fixed xc3028 firmware extractor, added terratec fw supportMarkus Rechberger
From: Markus Rechberger <mrechberger@gmail.com> fixed xc3028 firmware extractor for terratec's emBDA.sys firmware fixed delay in firmwareupload, now terratec's firmware also works Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
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-18Fix compilation failure with gcc 2.95.3.Mauro Carvalho Chehab
Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17Reverted latest two patchesMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-17Fix compilation failure with gcc 2.95.3 and corrected set video stdMauro Carvalho Chehab
From:: Jean Delvare <khali@linux-fr.org> - Fix compilation failure with gcc 2.95.3. - Corrected a bug at video std check at cx25840 module Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-30 - Renamed common structures to em28xxMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-28 - module em2820 renamed to em28xx and moved to V4L dir.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-25- Some module rename and small fixesMauro Carvalho Chehab
- module renamed to cs53l32ac. - New debug info from em2820 eeprom - Fixed request_module to the newer name for saa711x - module info messages improved to show audio interfaces. - Fixed to compile cx53l32ac instead of cx53132ac. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-22 * ../linux/drivers/usb/media/em2820-cards.c:Markus Rechberger
* ../linux/drivers/usb/media/em2820-i2c.c: * ../linux/drivers/usb/media/em2820.h: - fixed settings for MSI Vox USB 2.0 (saa7114 is missing atm) Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-14Several Improvement on I2C IR handling for em2820:Mauro Carvalho Chehab
- moved Pinnacle IR table (ir_codes_em2820) to em2820-input.c - IR struct renamed and moved to a header file. - New file to handle em2820-specific IR. - Some cleanups. - attach now detects I2C IR and calls em2820-specific IR code - IR compat code moved to compat.h - New header with struct IR_i2c there, to allow it to be used by board-specific input handlers. Some improvements at em28xx board detection: - Board detection message improved to show interface and class. - Now it doesn't touch audio interfaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-12 * ../linux/drivers/media/video/ir-kbd-i2c.c:Markus Rechberger
- fixed bad em2820 remote layout values, set KNC One and Purple TV layouts back to default * ../linux/drivers/usb/media/em2820-i2c.c: - added pinnacle ir remote i2c address to the i2c scanner Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
2005-10-11 - Included support for em2800.Mauro Carvalho Chehab
- Included card insmod parameter. - Now it will not try to register audio anymore. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-11added support for the terratec cinergy 250 usb tv remoteMarkus Rechberger
Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
2005-10-10fixed registry value in em2820-i2c.c which corrects a tuner setting (also ↵Markus Rechberger
removed that call from em2820-video.c)
2005-10-09From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../Make - created make changelog to make easier to generate patches. * ../linux/drivers/media/video/cx88/cx88-core.c: * ../linux/drivers/media/video/cx88/cx88.h: * ../linux/kernel/drivers/usb/media/em2820-core.c: * ../linux/kernel/drivers/usb/media/em2820-i2c.c: * ../linux/kernel/drivers/usb/media/em2820-video.c: * ../linux/kernel/drivers/usb/media/em2820.h: - removed unneccessary includes. * ../v4l/scripts/prepare-ChangeLog.pl: - Modified to avoid detecting ChangeLog as a change. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-08 From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../linux/drivers/media/video/tveeprom.c: - Fixed include when compiling at kernel tree * ../linux/include/linux/videodev.h: - removed compat.h from wrong place * ../linux/drivers/media/video/tvp5150.c: * ../linux/kernel/drivers/usb/media/em2820-cards.c: * ../linux/kernel/drivers/usb/media/em2820-core.c: * ../linux/kernel/drivers/usb/media/em2820-i2c.c: * ../linux/kernel/drivers/usb/media/em2820-video.c: - included compat.h at the right place * ../v4l/Make - now creates symlinks to allow compiling V4L stuff at v4l dir. * ../v4l/scripts/prepare-ChangeLog.pl: - modified to include other directories. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-07 * em2820-i2c.c:Michael Krufky
- Fix build for 2.6.14 - Kill i2c_algorithm.name - Kill i2c_algorithm.id Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-06 * Makefile:Nickolay V. Shmyrev
* em2820-i2c.c: (em2820_set_tuner): - Fixed build. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
2005-10-06From Markus Rechberger <mrechberger@gmail.com>,Ludovico Cavedon ↵Mauro Carvalho Chehab
<cavedon@sssup.it>,Mauro Carvalho Chehab <mchehab@brturbo.com.br> - Added support for Empia EM2820/2840 USB video capture devices. Current support is working for: Terratec Cinergy 250 USB Pinnacle PCTV USB 2 Hauppauge WinTV USB 2 Support is not working for: Terratec Cinergy 250 USB (em2800 based) MSI VOX USB 2.0 (saa7114 decoder based) Signed-off-by: Markus Rechberger <mrechberger@gmail.com> Signed-off-by: Ludovico Cavedon <cavedon@sssup.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>