linux/drivers/media/video/cx88
Devin Heitmueller 06f837cadb V4L/DVB (11784): cx88: Fix race condition between cx8800 startup and hald
A power management fix to properly put the xc5000 into low power mode
revealed a race condition where hald could detect the creation of the device
file and connect to the device while the initial device configuration is
still in progress.

Lock the core structure so that video_release cannot be called and put the
tuner to sleep in the middle of the initial call to cx88_set_tvnorm() in
cx8800_initdev()

Thanks to Michael Krufky for discovering the issue and providing an
environment to test in.

Cc: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16 19:14:13 -03:00
..
cx88-alsa.c V4L/DVB (11992): Add missing __devexit_p() 2009-06-16 19:07:51 -03:00
cx88-blackbird.c V4L/DVB (11300): cx88: convert to v4l2_subdev. 2009-03-30 12:43:48 -03:00
cx88-cards.c V4L/DVB (11879): Adds support for Leadtek WinFast DTV-1800H 2009-06-16 18:21:15 -03:00
cx88-core.c V4L/DVB (11853): minor have assigned value twice 2009-06-16 18:21:13 -03:00
cx88-dvb.c V4L/DVB (11879): Adds support for Leadtek WinFast DTV-1800H 2009-06-16 18:21:15 -03:00
cx88-i2c.c V4L/DVB (11844): ir-kbd-i2c: Switch to the new-style device binding model 2009-06-16 18:21:11 -03:00
cx88-input.c V4L/DVB (11879): Adds support for Leadtek WinFast DTV-1800H 2009-06-16 18:21:15 -03:00
cx88-mpeg.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
cx88-reg.h V4L/DVB (6066): cx88-alsa: Change order of interrupt enabling, fix spurious IRQs 2007-10-09 22:05:55 -03:00
cx88-tvaudio.c V4L/DVB (9269): cx88: add I2S-ADC tvaudio method 2008-10-17 17:29:14 -03:00
cx88-vbi.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
cx88-video.c V4L/DVB (11784): cx88: Fix race condition between cx8800 startup and hald 2009-06-16 19:14:13 -03:00
cx88-vp3054-i2c.c v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10 2008-07-20 07:17:52 -03:00
cx88-vp3054-i2c.h V4L/DVB (5629): Cx88: VP3054 support can't be a module when cx88 is compiled in 2007-07-18 14:23:11 -03:00
cx88.h V4L/DVB (11879): Adds support for Leadtek WinFast DTV-1800H 2009-06-16 18:21:15 -03:00
Kconfig V4L/DVB (11127): Kconfig: replace all occurrences of CUSTOMIZE to CUSTOMISE 2009-03-30 12:43:31 -03:00
Makefile V4L/DVB (10190): cx88: Fix some Kbuild troubles 2009-01-07 22:18:56 -02:00