From: Takashi Iwai Subject: [PATCH 0/4] ASoC: Use snd_pcm_stop_xrun() helper Date: Wed, 4 Jul 2018 16:01:42 +0200 Message-ID: <20180704140146.6768-1-tiwai@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 1D4742676E7 for ; Wed, 4 Jul 2018 16:01:49 +0200 (CEST) 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: Mark Brown Cc: alsa-devel@alsa-project.org, Banajit Goswami , Alexandre Torgue , Patrick Lai , Peter Ujfalusi , Maxime Coquelin List-Id: alsa-devel@alsa-project.org Hi, this is a series of trivial fixes to replace some open codes with the standard snd_pcm_stop_xrun() helper. Functionally same, but it addresses the potential stream lock issues automagically, too. Takashi === Takashi Iwai (4): ASoC: davinci: Use snd_pcm_stop_xrun() helper ASoC: qcom: Use snd_pcm_stop_xrun() helper ASoC: sti: Use snd_pcm_stop_xrun() helper ASoC: stm32: Use snd_pcm_stop_xrun() helper sound/soc/davinci/davinci-mcasp.c | 16 ++++------------ sound/soc/qcom/lpass-platform.c | 2 +- sound/soc/sti/uniperif_player.c | 6 +++--- sound/soc/sti/uniperif_reader.c | 2 +- sound/soc/stm/stm32_sai_sub.c | 7 ++----- 5 files changed, 11 insertions(+), 22 deletions(-) -- 2.18.0