summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2007-11-19CXUSB: handle write then read from different addressChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> The path to perform a read immediately after a write was not checking that the address being read from was the same as the one that was written. Handling this case correctly should mean that we now can handle more than two i2c messages at a time. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-19CXUSB: support only-read i2c requestsChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Any i2c read request that was not immediately preceded by a write request was incorrectly taking the write path. Add the capability to handle individual read requests. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-19CXUSB: i2c transfer failure notificationChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> The i2c master_xfer routine should return a negative result if not all transfers completed successfully. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-19CXUSB: return control message transfer result to callerChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Callers to cxusb_ctrl_msg currently do not receive any indication that their transfer failed. Return the true return code from dvb_usb_generic_{rw,write}. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-24tda18271: clean up i2c_gate handlingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Call analog_demod_ops->i2c_gate_ctrl when in analog tuning mode, and frontend_ops.i2c_gate_ctrl when in digital tuning mode. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/Makefile | 1 linux/drivers/media/dvb/frontends/tda18271.c | 33 ++++++++++++++++++++------- 2 files changed, 26 insertions(+), 8 deletions(-)
2007-10-24tda18271: clean up debug macrosMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/tda18271.c | 76 ++++++++++++--------------- 1 file changed, 35 insertions(+), 41 deletions(-)
2007-10-22move std if setting from tda8290 to tda827xMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/tda827x.c | 61 +++++++++++++++++++++++++--- linux/drivers/media/dvb/frontends/tda827x.h | 3 - linux/drivers/media/video/tda8290.c | 20 --------- 3 files changed, 57 insertions(+), 27 deletions(-)
2007-10-21dvb_frontend: codingstyle cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> thanks to checkpatch.pl Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/dvb-core/dvb_frontend.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
2007-10-21tuner: move analog_demod_priv into struct dvb_frontendMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/dvb-core/dvb_frontend.h | 1 linux/drivers/media/video/tda8290.c | 40 ++++++++++++------------ linux/drivers/media/video/tda9887.c | 14 ++++---- linux/drivers/media/video/tuner-core.c | 11 ------ linux/drivers/media/video/tuner-driver.h | 1 5 files changed, 29 insertions(+), 38 deletions(-)
2007-10-21tuner: move analog_tuner_ops into dvb_frontend_opsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/dvb-core/dvb_frontend.h | 3 linux/drivers/media/video/tda8290.c | 8 +- linux/drivers/media/video/tda9887.c | 4 - linux/drivers/media/video/tuner-core.c | 91 +++++++++++++----------- linux/drivers/media/video/tuner-driver.h | 4 - 5 files changed, 63 insertions(+), 47 deletions(-)
2007-10-22tda8290: add support for NXP TDA18271 tuner and TDA8295 analog demodMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add basic support for NXP TDA8295 analog demod and TDA18271 tuner silicon. TDA8295 + TDA8275a not yet tested. TDA8290 + TDA18271 not yet supported. Digital mode of TDA18271 not yet tested & needs more work. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/Documentation/video4linux/CARDLIST.tuner | 1 linux/drivers/media/Kconfig | 3 linux/drivers/media/dvb/frontends/Kconfig | 7 linux/drivers/media/dvb/frontends/Makefile | 1 linux/drivers/media/dvb/frontends/tda18271.c | 1062 +++++++++++++++++++++++++ linux/drivers/media/dvb/frontends/tda18271.h | 40 linux/drivers/media/video/tda8290.c | 339 +++++++ linux/drivers/media/video/tda8290.h | 8 linux/drivers/media/video/tuner-core.c | 5 linux/drivers/media/video/tuner-types.c | 3 linux/drivers/media/video/tveeprom.c | 2 linux/include/media/tuner.h | 2 v4l/versions.txt | 2 13 files changed, 1467 insertions(+), 8 deletions(-)
2007-10-21tda827x: fix GPL export on attach functionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> EXPORT_SYMBOL should have been EXPORT_SYMBOL_GPL Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/dvb/frontends/tda827x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2007-08-25Move all tda8275/8275a tuning code from tda8290 module into tda827x moduleMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add analog tuning support to tda827x dvb_frontend tuner module. Convert tda8290 module back to native tuner interface. The tda8290 analog demodulator will be handled the same way as tda9887. The tuner.ko module (tuner-core) will pass commands to tda8290 via the tuner_operations interface. tda8290 will communicate with tda827x via the dvb_frontend interface, while passing a pointer to a private data structure. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/Kconfig | 1 linux/drivers/media/dvb/frontends/tda827x.c | 307 ++++++++++++++- linux/drivers/media/dvb/frontends/tda827x.h | 10 linux/drivers/media/video/tda8290.c | 566 +++++----------------------- linux/drivers/media/video/tda8290.h | 30 - linux/drivers/media/video/tuner-core.c | 16 6 files changed, 424 insertions(+), 506 deletions(-)
2007-10-24mt2131: replace comma with semicolon fixSteven Toth
From: Steven Toth <stoth@hauppauge.com> Semicolon fix. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-10-24s5h1409: Fix broken QAM supportSteven Toth
From: Steven Toth <stoth@hauppauge.com> This patch enables QAM Annex-B support (US digital cable) for the s5h1409 VSB/QAM demodulator. Tested successfully with the mt2131 tuner, present on the following supported boards: Hauppauge WinTV-HVR-1250 Hauppauge WinTV-HVR-1800 Hauppauge WinTV-HVR-1800lp This patch is also known to work with an upcoming XC5000 tuner driver. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.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-11DiB0700-device: Using 1.10 firmwarePatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> As for most of the users the 1.10 firmware is an improvement we should use this firmware always now. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2007-10-17synchronize dst.c with kernel versionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-17Make it backward compatible with kernels <2.6.24Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-17backport changeset 3b04ddde02cf1b6f14f2697da5c20eca5715017fMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original description: [NET]: Move hardware header operations out of netdevice. Since hardware header operations are part of the protocol class not the device instance, make them into a separate object and save memory. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-17backport changeset 7e7654a92a5a75a350cc3458389bc76273498f6aMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original description: cdev: remove unneeded setting of cdev names struct cdev does not need the kobject name to be set, as it is never used. This patch fixes up the few places it is set. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-16"while (!ca->wakeup)" breaks the CAM initialisationMauro Carvalho Chehab
From: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-15 V4L: cinergyT2, remove bad usage of ERESTARTSYSMauro Carvalho Chehab
From: Jiri Slaby <jirislaby@gmail.com> cinergyT2, remove bad usage of ERESTARTSYS test of cinergyt2->disconnect_pending doesn't ensure pending signal and so ERESTARTSYS would reach userspace, which is not permitted. Change it to EAGAIN Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-10dvb: Replace list_for_each+list_entry with list_for_each_entryTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-10-08dib0700: add support for AverMedia DVB-T Express cardMichael Krufky
From: Joachim Steiger <roh@hyte.de> add Avermedia dvb-t express card 34 (usb2) id Signed-off-by: Joachim Steiger <roh@hyte.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-10-03en_50221: convert to kthread APIMauro Carvalho Chehab
From: Christoph Hellwig <hch@infradead.org> Here's an attempted update to the full kthread API + wake_up_process: Signed-off-by: Andrew Morton <akpm@linux-foundation.org> CC: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-09-27fix typo in DVB_PLL Kconfig help textMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> s/driver/drives/1 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-27Backed out changeset 09fea8806b2fMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch was wrong. A better changeset follows. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-26 dvb: Fix kconfig help textMauro Carvalho Chehab
From: Uwe Bugla <uwe.bugla@gmx.de> This patch corrects some broken English in Kconfig. Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-09-09dvb-pll: report whether input rf will be autoselected or set via insmod optionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-09dvb-pll: always show pll name if forced via insmod optionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The name of the pll will be shown if forced via insmod option, or if debug is enabled. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: add module option to force dvb-pll desc id (for debug use only)Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add a module option to force the dvb-pll module to use an alternate dvb-pll description without having to recompile the kernel. Having a module option like this is useful in some cases, where the vendor may release an alternate revision of the hardware using a different tuner, but without changing the pci subsystem / usb device ids. This option is intended for debugging purposes _only_. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-09dvb-pll: increase DVB_PLL_MAX to 64Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Increased DVB_PLL_MAX from 16 to a figure that would never be reached in a practical sense. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: add module option to specify rf inputMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add a module option to dvb-pll, called "input" to specify which rf input to use on devices with multiple rf inputs. If the module option is not specified, then the driver will autoselect the rf input, as per previous behavior. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: store instance ID in dvb_pll_priv structureMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Store an instance ID in the dvb_pll_priv structure, so that module options specific to a given pll may be used by the functions within the driver. When debug is turned on, print a message indicating which pll was attached and it's instance id. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-07dvb-pll: pass fe pointer into dvb_pll_configure() and set() functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The pll-specific set() function will need access to the dvb_pll_priv structure for new functionality. This patch gives access to this structure to the required functions. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-09-18budget-ci: select TT keymap for DVB-S TT 1500Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> DVB-S TT 1500 must use the TT keymap. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-09-04Removed unused function mt2131_set_gpo()Steven Toth
From: Steven Toth <stoth@hauppauge.com> Unused code is removed. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-08-30dvb_frontend: add get_rf_strength function pointer to dvb_tuner_opsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add get_rf_strength function pointer to dvb_tuner_ops, so that rf signal strength can be read directly from the tuner driver by the dvb demodulator driver and / or the analog tuning system. This is an internal api addition -- userspace is not affected. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Manu Abraham <manu@linuxtv.org>
2007-08-29merge: http://linuxtv.org/hg/~mkrufky/tuner-refactor-phase-1Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-27whitespace cleanup: replace leading spaces with tabsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> There were many instances of 7-space indents spread throughout the v4l-dvb tree. This patch replaces the 7-space indents with tabs. The whitespace cleaner script doesn't catch these, because it assumes that all indents are 8-space. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-08-25dvb_frontend: clean-up shutdown handlingOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Now dvb_powerdown_on_sleep controls whether - whether LNB power is turned off - whether the tuner/frontend enters sleep mode Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-25dvb_frontend: Default for dvb_shutdown_timeout set to 0Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Default for dvb_shutdown_timeout set to 0. dvb_shutdown_timeout > 0 is used for debugging only. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-25dvb_frontend: ts_bus_ctrl() handling fixedOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> ts_bus_ctrl() should only be called by - the first open - the last release call. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-25dvb_ca_en50221: decrement module use count on errorOliver Endriss
From: Marco Schluessler <marco@lordzodiac.de> decrement module use count on error Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-25dvb_ca_en50221: return correct error code valueOliver Endriss
From: Marco Schluessler <marco@lordzodiac.de> return correct error code value Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-25[PATCH 24/30] dvb: remove some unneeded vmalloc() return value casts from av7110Oliver Endriss
From: Jesper Juhl <jesper.juhl@gmail.com> vmalloc() returns void * - no need to cast it. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-08-23dvb_net: whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Clean whitespace brain-damage caused by previous patch, "Fix a warning at dvb_net" Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-08-21Cleanup: remove linux/moduleparam.h from drivers/media filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since at least kernel 2.6.12-rc2, module.h includes moduleparm.h. This patch removes all occurences of moduleparm.h from drivers/media files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-08-21hybrid tuner refactoring core changes, phase 1Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Prepare tuner-core for conversion of tuner sub-drivers into dvb_frontend modules Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Mike Isely <isely@pobox.com> Acked-by: Steven Toth <stoth@hauppauge.com> Acked-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Jarod Wilson <jwilson@redhat.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Acked-by: Trent Piepho <xyzzy@speakeasy.org>