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

2011-04-02 Thread Jonathan Nieder
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-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2011-04-02 Thread Ben Hutchings
On Sat, 2011-04-02 at 04:38 -0500, Jonathan Nieder wrote:
 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.

Since you have split up and otherwise modified the patch I sent, please
remove the 'From' and 'Signed-off-by' lines with my name and address.
Just state that the patches are based on my work.

Ben.

 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(-)
 

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part