[RFC/PATCH 0/3] locking fixes for cx88

From: Jonathan Nieder
Date: Sat Apr 02 2011 - 05:39:31 EST


Hi,

Huber Andreas wrote[1]:

> Processes that try to open a cx88-blackbird driven MPEG device will hang up.

Here's a possible fix based on a patch by Ben Hutchings and
corrections from Andi Huber. Warning: probably full of mistakes (my
fault) since I'm not familiar with any of this stuff. Untested.
Review and testing would be welcome.

Ben Hutchings (2):
[media] cx88: fix locking of sub-driver operations
[media] cx88: use a mutex to protect cx8802_devlist

Jonathan Nieder (1):
[media] cx88: protect per-device driver list with device lock

drivers/media/video/cx88/cx88-blackbird.c | 3 +-
drivers/media/video/cx88/cx88-dvb.c | 2 +
drivers/media/video/cx88/cx88-mpeg.c | 35 +++++++++++++++++++---------
drivers/media/video/cx88/cx88.h | 10 +++++++-
4 files changed, 37 insertions(+), 13 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/