From: Ladislav Michl <ladis@linux-mips.org>
To: Charles Keepax <ckeepax@opensource.cirrus.com>
Cc: alsa-devel@alsa-project.org, kuninori.morimoto.gx@renesas.com,
vinod.koul@intel.com, lgirdwood@gmail.com, broonie@kernel.org,
dan.carpenter@oracle.com
Subject: Re: [PATCH 2/2] ASoC: compress: Fixup some minor style issues
Date: Wed, 24 Jan 2018 15:33:19 +0100 [thread overview]
Message-ID: <20180124143319.GA29547@lenoch> (raw)
In-Reply-To: <20180124135525.5633-2-ckeepax@opensource.cirrus.com>
On Wed, Jan 24, 2018 at 01:55:25PM +0000, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
> 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);
What about:
dev_info(rtd->card->dev, ...
or better drop this change and make separate patch fixing logging
soc-compress-wide?
> return ret;
>
> --
> 2.11.0
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2018-01-24 14:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-24 13:55 [PATCH 1/2] ASoC: compress: Correct handling of compressed ops Charles Keepax
2018-01-24 13:55 ` [PATCH 2/2] ASoC: compress: Fixup some minor style issues Charles Keepax
2018-01-24 14:33 ` Ladislav Michl [this message]
2018-01-24 14:50 ` Charles Keepax
2018-01-24 14:29 ` [PATCH 1/2] ASoC: compress: Correct handling of compressed ops Vinod Koul
2018-01-24 14:49 ` Charles Keepax
2018-01-24 15:33 ` Mark Brown
2018-01-24 16:00 ` Charles Keepax
2018-01-24 16:05 ` Mark Brown
2018-01-24 17:14 ` Charles Keepax
2018-01-25 11:03 ` Charles Keepax
2018-01-25 1:18 ` Kuninori Morimoto
2018-01-25 9:47 ` Charles Keepax
2018-01-26 0:33 ` Kuninori Morimoto
2018-01-26 10:03 ` Charles Keepax
2018-01-26 11:48 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180124143319.GA29547@lenoch \
--to=ladis@linux-mips.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.cirrus.com \
--cc=dan.carpenter@oracle.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.