1
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
cx88-tvaudio.c
cx88-vbi.c
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
cx88-vp3054-i2c.h
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