linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the sound-asoc tree
@ 2020-08-19  1:34 Stephen Rothwell
  2020-08-19  3:40 ` [PATCH] ASoC: sun8i-codec: Hook up component probe function Samuel Holland
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2020-08-19  1:34 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Samuel Holland

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

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

sound/soc/sunxi/sun8i-codec.c:532:12: warning: 'sun8i_codec_component_probe' defined but not used [-Wunused-function]
  532 | static int sun8i_codec_component_probe(struct snd_soc_component *component)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  90cac932976e ("ASoC: sun8i-codec: Fix DAPM to match the hardware topology")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ASoC: sun8i-codec: Hook up component probe function
  2020-08-19  1:34 linux-next: build warning after merge of the sound-asoc tree Stephen Rothwell
@ 2020-08-19  3:40 ` Samuel Holland
  2020-08-19 12:15   ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Holland @ 2020-08-19  3:40 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Maxime Ripard, Chen-Yu Tsai, Jaroslav Kysela, Takashi Iwai,
	linux-kernel, Samuel Holland, Stephen Rothwell

Due to a mistake made while reordering patches, commit 90cac932976e
("ASoC: sun8i-codec: Fix DAPM to match the hardware topology") added
the sun8i_codec_component_probe function without referencing it from
the component definition. Add the reference so the probe function gets
called as expected.

Fixes: 90cac932976e ("ASoC: sun8i-codec: Fix DAPM to match the hardware topology")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
 sound/soc/sunxi/sun8i-codec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c
index 304683a71acd..e3a1347d7ecd 100644
--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -584,6 +584,7 @@ static const struct snd_soc_component_driver sun8i_soc_component = {
 	.num_dapm_widgets	= ARRAY_SIZE(sun8i_codec_dapm_widgets),
 	.dapm_routes		= sun8i_codec_dapm_routes,
 	.num_dapm_routes	= ARRAY_SIZE(sun8i_codec_dapm_routes),
+	.probe			= sun8i_codec_component_probe,
 	.idle_bias_on		= 1,
 	.use_pmdown_time	= 1,
 	.endianness		= 1,
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: sun8i-codec: Hook up component probe function
  2020-08-19  3:40 ` [PATCH] ASoC: sun8i-codec: Hook up component probe function Samuel Holland
@ 2020-08-19 12:15   ` Mark Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-08-19 12:15 UTC (permalink / raw)
  To: Samuel Holland, Liam Girdwood
  Cc: Jaroslav Kysela, Takashi Iwai, Maxime Ripard, linux-kernel,
	Stephen Rothwell, Chen-Yu Tsai

On Tue, 18 Aug 2020 22:40:38 -0500, Samuel Holland wrote:
> Due to a mistake made while reordering patches, commit 90cac932976e
> ("ASoC: sun8i-codec: Fix DAPM to match the hardware topology") added
> the sun8i_codec_component_probe function without referencing it from
> the component definition. Add the reference so the probe function gets
> called as expected.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: sun8i-codec: Hook up component probe function
      commit: ed7f0fbc9dca0961ac9a713c778319b7f24315ae

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-19 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19  1:34 linux-next: build warning after merge of the sound-asoc tree Stephen Rothwell
2020-08-19  3:40 ` [PATCH] ASoC: sun8i-codec: Hook up component probe function Samuel Holland
2020-08-19 12:15   ` Mark Brown

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).