Skip to contentSkip to conversation

tm6000 locking fixes

PATCH New Mauro Carvalho Chehab 1 participant 1 message Oct 11, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

cover tm6000 locking fixes

There are a number of locking issues at tm6000 driver.

This series fixes those locking issues. After them, both mplayer and tvtime are not causing panic/oops, even if I call it via a remote machine.

Unfortunately, my HVR-900H died (probably due to overheat), so I can't test anymore the tm6010 alsa fixes, but, on the tests I did with tm6000, the start/stop of audio is not causing OOPS/Panic anymore (yet, some extra init is needed for tm6000 to have audio).

Mauro Carvalho Chehab (4):
tm6000: don't use BKL at the driver
V4L/DVB: tm6000-alsa: fix some locking issues
V4L/DVB: Use just one lock for devlist
V4L/DVB: tm6000: fix resource locking

 drivers/media/video/cx231xx/cx231xx-cards.c |    2 +
 drivers/staging/tm6000/tm6000-alsa.c        |   46 +++++++++++++---
 drivers/staging/tm6000/tm6000-cards.c       |    3 -
 drivers/staging/tm6000/tm6000-core.c        |   15 ++----
 drivers/staging/tm6000/tm6000-video.c       |   77 +++++++++++++++++----------
 drivers/staging/tm6000/tm6000.h             |    7 ++-
 6 files changed, 98 insertions(+), 52 deletions(-)