All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Alifer Moraes <alifer.m@variscite.com>
Cc: pierluigi.p@variscite.com, devicetree@vger.kernel.org,
	alsa-devel@alsa-project.org, nicoleotsuka@gmail.com,
	Xiubo.Lee@gmail.com, linuxppc-dev@lists.ozlabs.org,
	shengjiu.wang@gmail.com, tiwai@suse.com,
	linux-kernel@vger.kernel.org, lgirdwood@gmail.com,
	eran.m@variscite.com, robh+dt@kernel.org,
	patches@opensource.cirrus.com, festevam@gmail.com
Subject: Re: [PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support
Date: Fri, 11 Mar 2022 17:16:56 +0000	[thread overview]
Message-ID: <YiuECMoS3S54dfeF@sirena.org.uk> (raw)
In-Reply-To: <20220307141041.27538-1-alifer.m@variscite.com>

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

On Mon, Mar 07, 2022 at 11:10:38AM -0300, Alifer Moraes wrote:
> From: Pierluigi Passaro <pierluigi.p@variscite.com>
> 
> The codec WM8904 can use internal FLL as PLL source.
> Whenever the PLL source is not an external MCLK, this source
> must be setup during hw_params callback otherwise the BCLK
> could be wrongly evaluated.
> The SND_SOC_BIAS_PREPARE event is raised after the hw_params
> callback, so there is no need to set again PLL and SYSCLK and
> actually there's no need at all the set_bias_level function.
> Also, when esai is used, a dedicated snd_soc_dai_set_tdm_slot

> Signed-off by: Alifer Moraes <alifer.m@variscite.com>
> 
> Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>

When you're sending a mail your signoff should come at the end of the
chain of signoffs - see submitting-patches.rst for details.

This breaks an arm64 defconfig build:

/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_hw_free':
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:265:37: error: 'struct snd_soc_pcm_runtime' has no member named 'cpu_dai'
  265 |   ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0, 0, 2,
      |                                     ^~
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:266:35: error: 'params' undeclared (first use in this function); did you mean 'parameq'?
  266 |             params_physical_width(params));
      |                                   ^~~~~~
      |                                   parameq
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:266:35: note: each undeclared identifier is reported only once for each function it appears in


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Alifer Moraes <alifer.m@variscite.com>
Cc: pierluigi.p@variscite.com, devicetree@vger.kernel.org,
	alsa-devel@alsa-project.org, nicoleotsuka@gmail.com,
	Xiubo.Lee@gmail.com, linuxppc-dev@lists.ozlabs.org,
	shengjiu.wang@gmail.com, tiwai@suse.com,
	linux-kernel@vger.kernel.org, lgirdwood@gmail.com,
	eran.m@variscite.com, robh+dt@kernel.org,
	patches@opensource.cirrus.com, perex@perex.cz,
	festevam@gmail.com
Subject: Re: [PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support
Date: Fri, 11 Mar 2022 17:16:56 +0000	[thread overview]
Message-ID: <YiuECMoS3S54dfeF@sirena.org.uk> (raw)
In-Reply-To: <20220307141041.27538-1-alifer.m@variscite.com>

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

On Mon, Mar 07, 2022 at 11:10:38AM -0300, Alifer Moraes wrote:
> From: Pierluigi Passaro <pierluigi.p@variscite.com>
> 
> The codec WM8904 can use internal FLL as PLL source.
> Whenever the PLL source is not an external MCLK, this source
> must be setup during hw_params callback otherwise the BCLK
> could be wrongly evaluated.
> The SND_SOC_BIAS_PREPARE event is raised after the hw_params
> callback, so there is no need to set again PLL and SYSCLK and
> actually there's no need at all the set_bias_level function.
> Also, when esai is used, a dedicated snd_soc_dai_set_tdm_slot

> Signed-off by: Alifer Moraes <alifer.m@variscite.com>
> 
> Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>

When you're sending a mail your signoff should come at the end of the
chain of signoffs - see submitting-patches.rst for details.

This breaks an arm64 defconfig build:

/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_hw_free':
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:265:37: error: 'struct snd_soc_pcm_runtime' has no member named 'cpu_dai'
  265 |   ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0, 0, 2,
      |                                     ^~
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:266:35: error: 'params' undeclared (first use in this function); did you mean 'parameq'?
  266 |             params_physical_width(params));
      |                                   ^~~~~~
      |                                   parameq
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:266:35: note: each undeclared identifier is reported only once for each function it appears in


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Alifer Moraes <alifer.m@variscite.com>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	devicetree@vger.kernel.org, eran.m@variscite.com,
	festevam@gmail.com, lgirdwood@gmail.com,
	linuxppc-dev@lists.ozlabs.org, nicoleotsuka@gmail.com,
	patches@opensource.cirrus.com, perex@perex.cz,
	pierluigi.p@variscite.com, robh+dt@kernel.org,
	shengjiu.wang@gmail.com, tiwai@suse.com, Xiubo.Lee@gmail.com
Subject: Re: [PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support
Date: Fri, 11 Mar 2022 17:16:56 +0000	[thread overview]
Message-ID: <YiuECMoS3S54dfeF@sirena.org.uk> (raw)
In-Reply-To: <20220307141041.27538-1-alifer.m@variscite.com>

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

On Mon, Mar 07, 2022 at 11:10:38AM -0300, Alifer Moraes wrote:
> From: Pierluigi Passaro <pierluigi.p@variscite.com>
> 
> The codec WM8904 can use internal FLL as PLL source.
> Whenever the PLL source is not an external MCLK, this source
> must be setup during hw_params callback otherwise the BCLK
> could be wrongly evaluated.
> The SND_SOC_BIAS_PREPARE event is raised after the hw_params
> callback, so there is no need to set again PLL and SYSCLK and
> actually there's no need at all the set_bias_level function.
> Also, when esai is used, a dedicated snd_soc_dai_set_tdm_slot

> Signed-off by: Alifer Moraes <alifer.m@variscite.com>
> 
> Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>

When you're sending a mail your signoff should come at the end of the
chain of signoffs - see submitting-patches.rst for details.

This breaks an arm64 defconfig build:

/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_hw_free':
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:265:37: error: 'struct snd_soc_pcm_runtime' has no member named 'cpu_dai'
  265 |   ret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0, 0, 2,
      |                                     ^~
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:266:35: error: 'params' undeclared (first use in this function); did you mean 'parameq'?
  266 |             params_physical_width(params));
      |                                   ^~~~~~
      |                                   parameq
/mnt/kernel/sound/soc/fsl/fsl-asoc-card.c:266:35: note: each undeclared identifier is reported only once for each function it appears in


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2022-03-11 17:18 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 14:10 [PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support Alifer Moraes
2022-03-07 14:10 ` Alifer Moraes
2022-03-07 14:10 ` Alifer Moraes
2022-03-07 14:10 ` [PATCH 2/4] ASoC: bindings: fsl-asoc-card: Add compatible string for wm8904 Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 14:10 ` [PATCH 3/4] ASoC: wm8904: extend device tree support Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 16:16   ` Mark Brown
2022-03-07 16:16     ` Mark Brown
2022-03-07 16:16     ` Mark Brown
2022-03-10 20:51   ` Rob Herring
2022-03-10 20:51     ` Rob Herring
2022-03-10 20:51     ` Rob Herring
2022-06-20 14:39     ` Pierluigi Passaro
2022-06-20 14:39       ` Pierluigi Passaro
2022-06-20 14:39       ` Pierluigi Passaro
2022-03-07 14:10 ` [PATCH 4/4] ASoC: wm8904: add DMIC support Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 16:25   ` Mark Brown
2022-03-07 16:25     ` Mark Brown
2022-03-07 16:25     ` Mark Brown
2022-06-20 19:53   ` Pierluigi Passaro
2022-06-20 19:53     ` Pierluigi Passaro
2022-06-20 19:53     ` Pierluigi Passaro
2022-06-21 13:11     ` Mark Brown
2022-06-21 13:11       ` Mark Brown
2022-06-21 13:11       ` Mark Brown
2022-03-11 17:16 ` Mark Brown [this message]
2022-03-11 17:16   ` [PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support Mark Brown
2022-03-11 17:16   ` 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=YiuECMoS3S54dfeF@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alifer.m@variscite.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eran.m@variscite.com \
    --cc=festevam@gmail.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nicoleotsuka@gmail.com \
    --cc=patches@opensource.cirrus.com \
    --cc=pierluigi.p@variscite.com \
    --cc=robh+dt@kernel.org \
    --cc=shengjiu.wang@gmail.com \
    --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 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.