summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
AgeCommit message (Collapse)Author
2006-05-19Fix broken DVB drivers caused by a recent mergeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-19merge: http://linuxtv.org/hg/~pb/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-14Fixes after dvb_tuner_ops-conversionPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Some of the dvb_tuner_ops-pointer were set before having a dvb_frontend creating. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-05-13Fix PLL refactoring breakage to WinTV NOVA T USB 2 driverAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> The calls to set the pll ops were in the wrong place - moved them. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-04-18Convert dibusb* to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Hook tuner call into tuner_ops. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2005-12-08syncronizes some changes between v4l and dvbMauro Carvalho Chehab
- Updated firmware names - kfree (NULL) is valid. - assert_spin_locked() is the new way - small fixes to make in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-10fixed mistake of an incorrect usage of pid_filter-callbacks inside the ↵Patrick Boettcher
private state of the dvb-usb-devices Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-10-01[PATCH] I2C: Kill i2c_algorithm.name (1/7)Michael Krufky
The name member of the i2c_algorithm is never used, although all drivers conscientiously fill it. We can drop it completely, this structure doesn't need to have a name. [PATCH] I2C: Kill i2c_algorithm.id (4/7) There are no more users of i2c_algorithm.id, so we can finally drop this structure member. [PATCH] I2C: Kill i2c_algorithm.id (6/7) In theory, there should be no more users of I2C_ALGO_* at this point. However, it happens that several drivers were using I2C_ALGO_* for adapter ids, so we need to correct these before we can get rid of all the I2C_ALGO_* definitions. Note that this also fixes a bug in media/video/tvaudio.c: /* don't attach on saa7146 based cards, because dedicated drivers are used */ if ((adap->id & I2C_ALGO_SAA7146)) return 0; This test was plain broken, as it would succeed for many more adapters than just the saa7146: any those id would share at least one bit with the saa7146 id. We are really lucky that the few other adapters we want this driver to work with did not fulfill that condition. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-08-27Fixed race between submitting streaming URBs in the driver and starting thePatrick Boettcher
actual transfer in hardware (demodulator and USB controller) which sometimes lead to garbled data transfers. URBs are now submitted first, then the transfer is enabled. Dibusb clones are now fully functional again. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-06-19backport of 2.6.12 changes to match other API changes (i2c, usb)Johannes Stezenbach
2005-06-13From: Randy Dunlap <rdunlap@xenotime.net>Patrick Boettcher
Module needs a license to prevent kernel tainting. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-02preparation for the uDigitv and DViCO USB2.0 boxes: moved pll handling from ↵Patrick Boettcher
dibusb-common to dvb-usb added pll_init to dvb-usb added another dvb_pll_desc for TDA665x
2005-04-29added experimental (guessed) nova-t mac address readingPatrick Boettcher
2005-04-29added key-mapping for the a800 (Thanks to Glen Harris)Patrick Boettcher
changed remote-control-key-types and functions (saved about 80 lines code)
2005-04-27- more work on the nebula digitv USBPatrick Boettcher
- following a small change in the other drivers
2005-04-27- removed the field which specified the delay between the two transfer of a ↵Patrick Boettcher
read operation (not unused, didn't help) - correct the maximal number of feed for each device (up to now it was always 255 even if the device was only able to handle 16 pids) - added preliminary remote control support for the AVerTV USB2 A800 - changed the remote-control-struct for the NEC-protocol
2005-04-17enabled remote controls againPatrick Boettcher
nova-t has now real RC5 keys :)
2005-04-17- ported all dibusb drivers to fit into the dvb-usb-framewordPatrick Boettcher
- created dvb-pll-entries for the tuner used with the dibusb-drivers - removed all traces of the dibusb driver - adapted the dib3000-frontends to get along with the dvb-pll-changes