linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Shengjiu Wang <shengjiu.wang@gmail.com>
To: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: alsa-devel@alsa-project.org, Xiubo Li <Xiubo.Lee@gmail.com>,
	linuxppc-dev@lists.ozlabs.org, Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>,
	Nicolin Chen <nicoleotsuka@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Fabio Estevam <festevam@gmail.com>
Subject: Re: [PATCH 2/2] ASoC: fsl: Specify driver name in ASoC card
Date: Mon, 20 Mar 2023 15:16:59 +0800	[thread overview]
Message-ID: <CAA+D8AMUd0JSKipzY+7tc4ihpYApg0yrLHjYgeAn0gVL11phKA@mail.gmail.com> (raw)
In-Reply-To: <20230316123611.3495597-2-alexander.stein@ew.tq-group.com>

[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]

On Thu, Mar 16, 2023 at 8:36 PM Alexander Stein <
alexander.stein@ew.tq-group.com> wrote:

> Set the snd_soc_card driver name which fixes the warning:
> fsl-asoc-card sound: ASoC: driver name too long 'imx-audio-tlv320aic32x4'
> -> 'imx-audio-tlv32'
>
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
>

Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>

Best regards
wang shengjiu

> ---
> These patches could be squashed, but I opted for separation this patch
> is the actual functional change. Patch 1 is just preparation.
>
>  sound/soc/fsl/fsl-asoc-card.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c
> index e956abfd50f8..bffa1048d31e 100644
> --- a/sound/soc/fsl/fsl-asoc-card.c
> +++ b/sound/soc/fsl/fsl-asoc-card.c
> @@ -609,6 +609,7 @@ static int fsl_asoc_card_probe(struct platform_device
> *pdev)
>
>         priv->card.dapm_routes = audio_map;
>         priv->card.num_dapm_routes = ARRAY_SIZE(audio_map);
> +       priv->card.driver_name = DRIVER_NAME;
>         /* Diversify the card configurations */
>         if (of_device_is_compatible(np, "fsl,imx-audio-cs42888")) {
>                 codec_dai_name = "cs42888";
> --
> 2.34.1
>
>

[-- Attachment #2: Type: text/html, Size: 2040 bytes --]

  reply	other threads:[~2023-03-21  1:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16 12:36 [PATCH 1/2] ASoC: fsl: define a common DRIVER_NAME Alexander Stein
2023-03-16 12:36 ` [PATCH 2/2] ASoC: fsl: Specify driver name in ASoC card Alexander Stein
2023-03-20  7:16   ` Shengjiu Wang [this message]
2023-03-20  7:15 ` [PATCH 1/2] ASoC: fsl: define a common DRIVER_NAME Shengjiu Wang
2023-03-20 18:31 ` 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=CAA+D8AMUd0JSKipzY+7tc4ihpYApg0yrLHjYgeAn0gVL11phKA@mail.gmail.com \
    --to=shengjiu.wang@gmail.com \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=festevam@gmail.com \
    --cc=lgirdwood@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nicoleotsuka@gmail.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).