From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaroslav Kysela Subject: Re: [PATCH 0/10] snd_pcm_stop() lock fixes Date: Mon, 15 Jul 2013 15:12:07 +0200 Message-ID: <51E3F527.60801@perex.cz> References: <1373893582-17116-1-git-send-email-tiwai@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) by alsa0.perex.cz (Postfix) with ESMTP id 0B2AE2610B4 for ; Mon, 15 Jul 2013 15:12:14 +0200 (CEST) In-Reply-To: <1373893582-17116-1-git-send-email-tiwai@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Date 15.7.2013 15:06, Takashi Iwai wrote: > Hi, > > while reviewing another patch series, I stumbled on the snd_pcm_lock() > call in an unlocked context. Then I started looking through the whole > tree, and found a bunch of drivers doing it wrong, too. So here is a > patch series to fix them. > > [PATCH 01/10] ALSA: asihpi: Fix unlocked snd_pcm_stop() call > [PATCH 02/10] ALSA: atiixp: Fix unlocked snd_pcm_stop() call > [PATCH 03/10] ALSA: 6fire: Fix unlocked snd_pcm_stop() call > [PATCH 04/10] ALSA: ua101: Fix unlocked snd_pcm_stop() call > [PATCH 05/10] ALSA: usx2y: Fix unlocked snd_pcm_stop() call > [PATCH 06/10] ALSA: pxa2xx: Fix unlocked snd_pcm_stop() call > [PATCH 07/10] ASoC: atmel: Fix unlocked snd_pcm_stop() call > [PATCH 08/10] ASoC: s6000: Fix unlocked snd_pcm_stop() call > [PATCH 09/10] [media] saa7134: Fix unlocked snd_pcm_stop() call > [PATCH 10/10] staging: line6: Fix unlocked snd_pcm_stop() call Probably, it may be better to introduce 'snd_pcm_stop_dolock()' helper (inline?) in include/sound/pcm.h . Jaroslav -- Jaroslav Kysela Linux Kernel Sound Maintainer ALSA Project; Red Hat, Inc.