From: Charles Keepax Subject: [PATCH 2/2] ASoC: compress: Fixup some minor style issues Date: Wed, 24 Jan 2018 13:55:25 +0000 Message-ID: <20180124135525.5633-2-ckeepax@opensource.cirrus.com> References: <20180124135525.5633-1-ckeepax@opensource.cirrus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by alsa0.perex.cz (Postfix) with ESMTP id CA491266FE0 for ; Wed, 24 Jan 2018 14:55:31 +0100 (CET) In-Reply-To: <20180124135525.5633-1-ckeepax@opensource.cirrus.com> 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: broonie@kernel.org Cc: vinod.koul@intel.com, alsa-devel@alsa-project.org, dan.carpenter@oracle.com, lgirdwood@gmail.com, kuninori.morimoto.gx@renesas.com List-Id: alsa-devel@alsa-project.org Signed-off-by: Charles Keepax --- sound/soc/soc-compress.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c index 34834c02dda8..7c1955e9533a 100644 --- a/sound/soc/soc-compress.c +++ b/sound/soc/soc-compress.c @@ -262,7 +262,6 @@ static int soc_compr_free(struct snd_compr_stream *cstream) if (!codec_dai->active) codec_dai->rate = 0; - if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->shutdown) rtd->dai_link->compr_ops->shutdown(cstream); @@ -401,7 +400,6 @@ static int soc_compr_trigger_fe(struct snd_compr_stream *cstream, int cmd) else stream = SNDRV_PCM_STREAM_CAPTURE; - mutex_lock_nested(&fe->card->mutex, SND_SOC_CARD_CLASS_RUNTIME); if (cpu_dai->driver->cops && cpu_dai->driver->cops->trigger) { @@ -859,7 +857,7 @@ int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) rtd->compr = compr; compr->private_data = rtd; - printk(KERN_INFO "compress asoc: %s <-> %s mapping ok\n", codec_dai->name, + pr_info("compress asoc: %s <-> %s mapping ok\n", codec_dai->name, cpu_dai->name); return ret; -- 2.11.0