linux/drivers/media/dvb
Matthias Schwarzott 084e24acc9 V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly
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".

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>
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-13 20:39:14 -03:00
..
b2c2 V4L/DVB (12291): b2c2: fix frontends compiled into kernel 2009-07-24 14:03:31 -03:00
bt8xx headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
dm1105 V4L/DVB (11984): Add support for yet another SDMC DM1105 based DVB-S card. 2009-06-16 19:07:48 -03:00
dvb-core headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
dvb-usb V4L/DVB (12371): af9015: Fix for crash in dvb-usb-af9015 2009-08-13 20:39:03 -03:00
firewire V4L/DVB (11739): remove driver_data direct access of struct device 2009-06-16 18:20:58 -03:00
frontends V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
pluto2 dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
siano V4L/DVB (12437): dvb: siano uses/depends on INPUT 2009-08-13 20:39:13 -03:00
ttpci headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (10248): v4l-dvb: fix a bunch of compile warnings. 2009-01-29 08:38:04 -02:00
Kconfig firedtv: massive refactoring 2009-02-24 14:51:29 +01:00
Makefile firedtv: rename files, variables, functions from firesat to firedtv 2009-02-24 14:51:29 +01:00