summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/nxt6000.c
AgeCommit message (Collapse)Author
2009-08-10Use kzalloc for frontend states to have struct dvb_frontend properlyDouglas Schilling Landgraf
From: Matthias Schwarzott <zzam@gentoo.org> This patch changes most frontend drivers to allocate their state structure via kzalloc and not kmalloc. This is done to properly initialize the embedded "struct dvb_frontend frontend" field, that they all have. The visible effect of this struct being uninitalized is, that the member "id" that is used to set the name of kernel thread is totally random. Some board drivers (for example cx88-dvb) set this "id" via videobuf_dvb_alloc_frontend but most do not. So I at least get random id values for saa7134, flexcop and ttpci based cards. It looks like this in dmesg: DVB: registering adapter 1 frontend -10551321 (ST STV0299 DVB-S) The related kernel thread then also gets a strange name like "kdvb-ad-1-fe--1". Priority: normal Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> CC: Michael Krufky <mkrufky@linuxtv.org> CC: Steven Toth <stoth@linuxtv.org> CC: Timothy Lee <timothy.lee@siriushk.com> CC: Igor M. Liplianin <liplianin@me.by> Acked-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
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>
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-04-18Convert nxt6000 to refactored tuner codeAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert to tuner_ops calls. Remove pll function pointers from structure. Remove unneeded tuner calls. Add i2c gate control function. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-09-10remove trailing whitespaceMichael Krufky
2005-08-16added support for the NXT6000-based digitv-box.Patrick Boettcher
added .get_tune_settings callback for the NXT6000 to have a min_tune_delay of 500ms Signed-off-by: Svante Olofsson <svante@agentum.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-04-05 - remove unnecessary casts in frontendsKenneth Aafloy
2005-03-23patch by Greg Wickham:Johannes Stezenbach
add support for read_ber, read_signal_strength and read_status
2005-03-09 - kfree(NULL) is safeKenneth Aafloy
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2004-10-28Imported FE_REFACTORING to HEADAndrew de Quincy
2004-08-24- replace dvb_unregister_frontend_new() with dvb_unregister_frontend()Michael Hunold
2004-08-18- forgot to remove all occurences of "#include "dvb_functions.h" which is ↵Michael Hunold
included just everywhere - remove dvb_i2c.[ch], it's not needed anymore - rename dvb_register_frontend_new() to dvb_register_frontend() -
2004-08-18- remove dvb i2c code (all drivers are ported to kernel i2c)Michael Hunold
- remove dvb i2c frontend (un)register code (all drivers use non-i2c frontend calls now) - add i2c driver ids for all frontends to dvb_frontend.h (should be submitted to i2c-id.h) - fix usage of i2c driver ids in dst, ves1x93, nxt6000 drivers - remove dvb i2c functionality from av7110 and budget drivers - remove dvb i2c functionality from Skystar2 driver - fix up kernel Makefile - add a FE_ATSC case to avoid compiler warning (print warning message instead)
2004-08-18- port nxt6000 driver to kernel i2c *untested*Michael Hunold
2004-03-11Checked in experimental frontend patchAndrew de Quincy
Also some minimal budget-ci CI support implemented (just detection+IRQs)
2004-01-29bugfix by Robert Cook: FE_RESET did the same as FE_INIT, thus invalidatingAndreas Oberritter
current channel settings on FE_RESET
2004-01-26don't send zero-byte messages when probing the PLL typeHolger Waechtler
2003-12-20updated contributors.txt and some email addressesAndreas Oberritter
2003-11-23fix frontend private data handling. patch by Mikael Rosbacke <rosbacke at ↵Andreas Oberritter
nada.kth.se>
2003-11-12- use per i2c-adapater void pointer for private data in nxt_attach() / ↵Michael Hunold
nxt_detach() feedback appreciated!
2003-11-12- compile fixMichael Hunold
2003-11-12- re-indent the sourceMichael Hunold
- remove unnecessary blank lines - remove #pragma stuff - add 3 obviously missing break statements in nxt6000_dump_status() - use c style comments instead of // - remove bogus version history from header file - remove Windoze style <cr> from header file
2003-10-08- allow private data to be associated with i2c devicesAndreas Oberritter
- fixed some return values in i2c device attach functions
2003-10-08fixed fe_countAndreas Oberritter
2003-06-17Patch by Paul Andreassen:Johannes Stezenbach
Add Support for Comtech DVBT-6k07 (PLL IC: SP5730)
2003-05-27- remove enumeration typedefsMichael Hunold
- change some includes
2003-05-27Use C99 initializers.Michael Hunold
2003-03-22more portability, now frontend modules build out of the boxHolger Waechtler
2003-01-28- Removed some debug stuffFlorian Schirmer
- Bugfixes - Setup clock polarity properly
2003-01-28- More autodetect codeFlorian Schirmer
- Support BW 6 and 7 MHz modes - Bugfixes
2003-01-27Lots of bugfixes and new featuresFlorian Schirmer
2003-01-21Nxt6000 based frontend driverFlorian Schirmer