summaryrefslogtreecommitdiff
path: root/linux/drivers
AgeCommit message (Collapse)Author
2009-09-06tda18271: fix comments and make tda18271_agc debug less verboseMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Don't display "no agc configuration provided" unless DBG_ADV is set. Fix comments in function, tda18271_agc. This config variable is not for LNA configuration -- it is for external AGC configuration. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-05tda18271: improve error log in function tda18271_write_regsMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Display function parameters, idx and len, in error log. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-30tda18271: ensure that configuration options are set for multiple instancesMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> For the case of multiple tuner instances, ensure that non-default configuration options are saved into the driver's state. This resolves an issue where a configuration option may not be carried into the driver if the analog side of a hybrid driver initializes before the digital side. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-30tda18271: move small_i2c assignment to the state config blockMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> minor cleanup: move small_i2c assignment to the state config block Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-29tda18271: move tda18271_sleep directly below tda18271_initMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-29tda18271: change output feature configuration to a bitmaskMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> For better readability, treat the low power standby mode configuration as an output option feature configuration, and change it to a bitmask. If left unconfigured, all features will remain enabled, just as the default configuration was before these changes were introduced. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-28tda18271: add new standby mode: slave tuner output / loop thru onMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Add new standby mode: TDA18271_STANDBY_LT_ON = slave tuner output loop thru on w/ xtal osc off Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-28tda18271: add debug to show which standby mode is in useMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2008-05-11tda18271: add support for additional low-power standby modesMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> By default, the driver enters standby mode with slave tuner output loop thru enabled and xtal oscillator on. Not all designs require that slave tuner output loop thru and xtal oscillator remain active while in standby mode, so two additional standby modes have been added: - standby mode with xtal oscillator on (loop thru off) - total power off Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-27tda18271: allow drivers to request RF tracking filter calibration during attachMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> On certain master / slave dual tuner configurations, tuning performance improves when the RF tracking filter calibration is performed sequentially. This patch allows for the bridge driver to specify this behavior in the configuration structure at attach-time. The "cal" module option will continue to override this attach-time configuration: set cal=0 to prevent RF tracking filter calibration on startup, and set cal=1 to force it. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Reviewed-by: Steven Toth <stoth@kernellabs.com>
2009-08-26tda18271: remove excess whitespace from tda_foo printk macrosMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> remove excess spacing from the tda_foo printk macros & line things up better Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-26tda18271: simplify debug printk macrosMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Rename dprintk to tda_dprintk to be consistent with the other tda_foo macros. Move KERN_DEBUG facility level to tda_dprintk. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-03-09merge: http://linuxtv.org/hg/~mkrufky/saa7134Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-wfMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09merge: http://udev.netup.ru/hg/v4l-dvb-netupMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09v4l2-ioctl: get rid of video_decoder.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> The V4L1 obsoleted header video_decoder.h is not used anymore by any driver. Only a name decoding function at v4l2-ioctl still implements it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-vinoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09merge: http://linuxtv.org/hg/~awalls/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> commit && make && hg push Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09merge: http://linuxtv.org/hg/~tap/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08dvb/frontends: fix duplicate 'debug' symbolMauro Carvalho Chehab
From: Randy Dunlap <randy.dunlap@oracle.com> Fix dvb frontend debug variable to be static, to avoid linker errors: drivers/built-in.o:(.data+0xf4b0): multiple definition of `debug' arch/x86/kernel/built-in.o:(.kprobes.text+0x90): first defined here ld: Warning: size of symbol `debug' changed from 85 in arch/x86/kernel/built-in.o to 4 in drivers/built-in.o It would also be Good if arch/x86/kernel/entry_32.S didn't have a non-static 'debug' symbol. OTOH, it helps catch things like this one. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08w9968cf/ovcamchip: convert to v4l2_subdev.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-08w9968cf: add v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-07stv0900: delete debug messages not related to stv0900 tuning algorythmIgor M. Liplianin
From: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
2009-03-06vino: add note that this conversion is untested.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06vino: fold i2c-algo-sgi code into vino.Hans Verkuil
From: Jean Delvare <khali@linux-fr.org> Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06Kconfig: only open the customise menu if selectedMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Instead of asking a lot of questions for the poor users, let's just hide the frontend customise menu, if the user doesn't want to customise. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-06Kconfig: replace DVB_FE_CUSTOMIZE to DVB_FE_CUSTOMISEMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> The name of the option is DVB_FE_CUSTOMISE. However, on a few places, a wrong name were used, due to a typo (DVB_FE_CUSTOMIZE). Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-06Kconfig: Add some missing selects for a required frontendsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-05zoran: auto-select bt866 for AverMedia 6 EyesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> AFAIK, the bt866 is only seen on AverMedia 6 Eyes. However, no module selects it. Adds a proper select for this driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-05zoran: Change first argument to zoran_v4l2_buffer_statusTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> It was a struct file *, but all that function wants is the struct zoran_fh from the file's private data. Since every caller already has this, just pass the zoran_fh instead. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-03-04dib0700: Fixes the usb_id_tableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As noticed by Pascal Terjan <pterjan@mandriva.com>: The merge seems wrong: > +/* 45 */{ USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_PD378S) }, > + { &dib0700_usb_id_table[44], NULL }, Should be 45 Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-04dm1105: uses ir_* functions, select VIDEO_IRMauro Carvalho Chehab
From: Randy Dunlap <randy.dunlap@oracle.com> dm1105 uses the ir_*() functions, so it needs to select VIDEO_IR to avoid build errors: dm1105.c:(.text+0x26b7ac): undefined reference to `ir_input_keydown' dm1105.c:(.text+0x26b7bc): undefined reference to `ir_input_nokey' (.devinit.text+0x29982): undefined reference to `ir_codes_dm1105_nec' (.devinit.text+0x2998a): undefined reference to `ir_input_init' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-04em28xx: enable Compro VideoMate ForYou soundMauro Carvalho Chehab
From: Vitaly Wool <vital@embeddedalley.com> Compro VideoMate uses an external audio DSP chip, controlled via tvaudio module (tda9874a). This patch improves em28xx infrastructure to support an external audio processor and fixes the Compro VideoMate entry to work with it. Signed-off-by: Vitaly Wool <vital@embeddedalley.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-03Support alternate resolutions for sq905Mauro Carvalho Chehab
From: Adam Baker <linux@baker-net.org.uk> Add support for the alternate resolutions offered by SQ-905 based cameras. As well as 320x240 all cameras can do 160x120 and some can do 640x480. Signed-off-by: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Theodore Kilgore <kilgota@auburn.edu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-03tvaudio: remove bogus checkMauro Carvalho Chehab
From: Vitaly Wool <vital@embeddedalley.com> The 'bytes' array is 64 bytes large but the easy standard programming (TDA9874A_ESP) has a number of 255, outside the shadow array size. This patch increases the size of the shadow array in order to accomodate this register. Signed-off-by: Vitaly Wool <vital@embeddedalley.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-03Add support for GeoVision GV-800(S)Mauro Carvalho Chehab
From: Bruno Christo <brunochristo@gmail.com> Signed-off-by: Bruno Christo <bchristo@inf.ufsm.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-01cx18: Add interlock so sliced VBI insertion only happens for an MPEG PSAndy Walls
From: Andy Walls <awalls@radix.net> The cx18 private packet insertion code only expects to operate on an MPEG PS when inserting private packets of sliced VBI data. This patch keeps the cx18 driver from corrupting the MPEG TS or other non-PS stream types, in case the user enables sliced VBI insertion for these MPEG stream types. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-28cx18: Fix VPS service register codesAndy Walls
From: Andy Walls <awalls@radix.net> Based on a documentation clarification from Conexant, fix the register code used for sliced VBI VPS service. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-03-01cx88: Add IR support to pcHDTV HD3000 & HD5500Mauro Carvalho Chehab
From: Erik S. Beiser <erikb@bu.edu> cx88: Add IR support to pcHDTV HD3000 & HD5500 Signed-off-by: Erik S. Beiser <erikb@bu.edu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-28cx18: Correct comments about vertical and horizontal blanking timingsAndy Walls
From: Andy Walls <awalls@radix.net> This change only affects comments. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-28cx18: Fix s-parse warnings and a logic error about extracting the VBI PTSAndy Walls
From: Andy Walls <awalls@radix.net> My s-parse builds never griped about be32_to_cpu() casting to __be32, but Hans' builds did. This change explictly declares the pointer into the VBI buffer header as __be32, which is the correct thing to do as the data is always big endian when we go to fetch it. Hopefully this will quiet s-parse warnings. Also corrected a misplaced parenthesis logic error in checking for the VBI header magic number. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-28saa7134: add analog support for Hauppauge HVR1110r3 boardsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2009-03-04tda18271: add support for AGC configuration via tuner callbackMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The tda827x driver supports a feature that the tda18271 driver was lacking until now. This patch adds support for device-level configuration via the tuner callback configuration interface. Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2009-03-02merge: http://linuxtv.org/hg/~mkrufky/mxl5007tMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-28cx18: Include cx18-audio.h in cx18-audio.c to eliminate s-parse warningAndy Walls
From: Andy Walls <awalls@radix.net> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-28cx18: Fix a video scaling check problem introduced by sliced VBI changesAndy Walls
From: Andy Walls <awalls@radix.net> Fix a scaling check that was failing, due to a magic number I missed fixing during previous slice VBI changes. Now $ v4l2-ctl -v width=480,height=480,pixelformat=MPEG yields proper visual results again. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-28cx18: Use strlcpy() instead of strncpy() for temp eeprom i2c_client setupAndy Walls
From: Andy Walls <awalls@radix.net> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-02-28saa7146: Clean-up i2c error handlingMauro Carvalho Chehab
From: Oliver Endriss <o.endriss@gmx.de> saa7146: Clean-up i2c error handling Simplify i2c error handling and fix incorrect handling of address errors in poll mode. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08Adds some missing frontend select for saa7134 and dvb-usbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-08em28xx-dvb: Remove an unused headerMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>