summaryrefslogtreecommitdiff
path: root/linux/drivers
AgeCommit message (Collapse)Author
2007-05-09m920x: add missing error handling to prevent syslog spammingAapo Tahkola
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-05-09m920x: enable second adapter on LifeView TV Walker Twin DVB-T USB2.0Aapo Tahkola
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-05-09m920x: make sure devices manufactured by Dposh are not affected by previous ↵Aapo Tahkola
hw pid filtering changes From: Aapo Tahkola <aet@rasterburn.org> Doing so might crash it. Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-05-08m920x: second endpoint needs to be changed to alternate setting as wellAapo Tahkola
From: Aapo Tahkola <aet@rasterburn.org> Spotted by Jeremy Nysen. Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-05-08m920x: attempt to fix hw pid filters on second endpointAapo Tahkola
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-05-05m920x: Disable second adapter on LifeView TV Walker Twin while it doesn't ↵Aapo Tahkola
work properly. From: Nick Andrew <nick@nick-andrew.net> Disable second adapter on LifeView TV Walker Twin while it doesn't work properly. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2007-04-20m920x: loosen up 80-col limitAapo Tahkola
From: Aapo Tahkola <aet@rasterburn.org> Do not follow 80-col limit where it would cause inconsistency. Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-03-26m920x: rename function prefixes from m9206_foo to m920x_fooMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-26m920x: replace deb_rc with debMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> deb_rc is used by the dvb-usb core framework. This patch replaces all occurances of deb_rc with deb, in m920x.c, so that its clear that we're not using dvb-usb's deb_rc. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-26m920x: remove duplicated codeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Some of the devices supported by the m920x driver have identical functions used for tuner_attach and frontend_attach. This patch consolidates the functions in question, and updates the debug code to be generic for each. This patch decreases the size of the kernel. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-26m920x: group like functions togetherMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - Group the tuner configurations together. - Group the demod configurations together. - Group the device-specific initialization functions together. - Group demod_attach functions together. - Group tuner_attach functions together. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: various whitespace cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - 80-column cleanups - spaces between operators - tabbing style Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: Initial support for devices likely manufactured by DposhMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> These devices are sold by various companies and chains not involved in hardware manufacturing business. This particular device owned by winisch (from irc) had a sticker with text "TCM 234292" on it. This device was never opened so it is possible that Dposh did not manufacture this stick. However, the bundled software and their product line points into that direction. Also thanks to Michael Krufky for spotting this hw filtering problem and thus avoiding hair loss. Hardware pid filters and the bundled remote controller are not currently supported on this device. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: add "c-basic-offset: 8" to help emacs to enforce tabbing styleMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-22m920x: Add support for LifeView TV Walker TwinMichael Krufky
From: Nick Andrew <nick@nick-andrew.net> Add support for "LifeView TV Walker Twin" (USB IDs 10fd:0513, 10fd:0514) Signed-off-by: Nick Andrew <nick@nick-andrew.net> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-18m920x: add support for Anubis Electronics / MSI Digi Vox Mini IIMichael Krufky
From: Pierre Willenbrock <pierre@pirsoft.de> Add support for Anubis Electronics "Lifeview" (USB-ID: 0x10fd:0x1513) Signed-off-by: Pierre Willenbrock <pierre@pirsoft.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-18tda1004x: add ts_mode option to config structMichael Krufky
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The struct tda1004x_config has a new entry: .ts_mode Possible values are TDA10046_TS_PARALLEL or TDA10046_TS_SERIAL There always is only one interface active, default is parallel. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-17merge: http://linuxtv.org/hg/~mkrufky/m920xMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-17merge: http://linuxtv.org/hg/~hhackmann/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-17merge: http://linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-17merge: http://linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-17merge: http://www.linuxtv.org/hg/~stoth/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-16Fix ivtv yuv threshold handlingHans Verkuil
From: Ian Armstrong <ian@iarmst.demon.co.uk> Modifies automatic mode selection for yuv playback. Behaviour is now that source video with a vertical resolution below that of the currently set broadcast mode will be treated as progressive. Video with a vertical resolution greater or equal to the current broadcast mode (up to 576 lines) will be treated as interlaced. Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-15m920x: add error messages for debugging purposesMichael Krufky
From: Pierre Willenbrock <pierre@pirsoft.dnsalias.org> Signed-off-by: Pierre Willenbrock <pierre@pirsoft.dnsalias.org> Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-15m920x: rename megasky_identify_state to m920x_identify_stateMichael Krufky
From: Aapo Tahkola <aet@rasterburn.org> This function should work for all m920x-based devices. Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-15Renamed ASUStek P7131 card [1043:4876]Hartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The new name fits to what it is and what is on the box. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2007-03-14Added / corrected support for some ASUS hybrid boardsHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> There are 2 new entries for p7131 boards and one correction for a board with LNA Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2007-03-14saa7134-dvb fix sleep function of the fmd1216 tuner.Hartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Static locals should not be changed - the original contents gets lost. Thanks to Trent Piepho for pointing me to this. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2007-03-14saa7134: put tuner to sleep mode after board initializationHartmut Hackmann
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> Besides power saving, this puts the AGC output of the tda8290 to tristate. This is necessary for some hybrid boards which don't use a multiplexer for the AGC Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2007-03-13The TV standard should be set AFTER the TV output is fully initialized.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-13merge: http://linuxtv.org/hg/~mkrufky/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-13merge: http://linuxtv.org/hg/~mkrufky/m920xMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-13merge: http://linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-13Fix SECAM handling on saa7115Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-12Updates to the tveeprom tuner, video decoder and audio chip structs.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Some of the new tuner entries may need to be mapped to compatible tuners already defined. I don't know for certain which tuners are compatible between manufacturers. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2007-03-13dvb-ttpci: Infrared remote initialization fixOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix bug introduced during infrared refactoring. Thanks to Johann Friedrichs for spotting this. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Thanks-to: Johann Friedrichs <johann.friedrichs@web.de>
2007-03-12Fix suspend/resume in msp3400 and tunerHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-12m920x: Detect zero-length I2C messages and fix a typoTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Change a 00 to just 0 Detect zero-length I2C messages and return not supported. I think I know how to send one, but the problem is getting the slave's ack. The only point of a zero-length message is for probing; too see if the slave will ack its address. Since we don't know how to get the ack, we can't support zero-length messages in a useful way, so it's probably best to just return not supported for them. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-11Initialize the inputs before registering the devices.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Once the devices have been registered anyone can start changing the inputs or TV standard before they have been initialized by the driver. This leads to cases were the input is changed in an udev rule, but after that rule is triggered the tail-end of the ivtv driver initialization can override that by selecting the tuner input. The correct sequence is to first setup the input, initial frequency and TV standard before finally registering the video devices. This prevents any udev rules from being triggered prematurely. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-11cx88: whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> replace leading spaces with tabs Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-11cx88: autodetect ADS Tech InstantTV DVB-SMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The ADS Tech InstantTV DVB-S is a clone of the KWorld DVB-S 100. This patch adds autodetection support for this card based on pci subsystem id. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-03-11First unregister the driver, and then free the memory.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> ivtv_remove which is called by pci_unregister_driver was still using memory that was already freed. Ouch. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-11Use pci_register_driver instead of pci_module_init in ivtv.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-11msp_attach must return 0 if no msp3400 was found.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Returning -1 causes the probe to stop, but it should just continue instead. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-11Add missing kfree in early exit of saa7115.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-11Use spin_lock_init to fix lockdep warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-10Fix VIDIOC_TRY_ENCODER_CMD and VIDEO_TRY_COMMANDHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> VIDIOC_TRY_ENCODER_CMD did the same as VIDIOC_ENCODER_CMD, now it no longer touches the encoder. Both the encoder and decoder commands did not clear the flags field of unknown flags. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-10Use v4l_printk_ioctl instead of printing the ioctl name for each ioctl in ivtv.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Using v4l_printk_ioctl saves a lot of code duplication. Also moved a few ioctl cases to another function, improving the ioctl grouping. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-10Add VIDIOC_G/S_PRIORITY support to ivtv.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-03-10merge: http://linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>