Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754550Ab1DBJjG (ORCPT ); Sat, 2 Apr 2011 05:39:06 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:45042 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752223Ab1DBJjE (ORCPT ); Sat, 2 Apr 2011 05:39:04 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=lmXuvWVE2rTDQOw/HKuTIxsfEuIoJ36Ig8g/mAWuhon78PaHUDPmZ9xQT09dtnka09 6BZH0TQml1mxFSU7/JY5BAAERn+7WgRLFNhsoh/PP76aA0JzOPHgAqno/gUE7TiyQNMR H3fL1jL2AanlqhBqSGX4XlRJioyh0CKg+UtYE= Date: Sat, 2 Apr 2011 04:38:56 -0500 From: Jonathan Nieder To: linux-media@vger.kernel.org Cc: Huber Andreas , Mauro Carvalho Chehab , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, andrew.walker27@ntlworld.com, Ben Hutchings Subject: [RFC/PATCH 0/3] locking fixes for cx88 Message-ID: <20110402093856.GA17015@elie> References: <20110327150610.4029.95961.reportbug@xen.corax.at> <20110327152810.GA32106@elie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110327152810.GA32106@elie> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 28 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/