* [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency
@ 2020-02-04 11:12 Srinivas Kandagatla
2020-02-04 11:23 ` Applied "ASoC: wcd934x: Add missing COMMON_CLK dependency" to the asoc tree Mark Brown
2020-02-04 13:21 ` [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency Geert Uytterhoeven
0 siblings, 2 replies; 4+ messages in thread
From: Srinivas Kandagatla @ 2020-02-04 11:12 UTC (permalink / raw)
To: broonie; +Cc: alsa-devel, sfr, lee.jones, linux-kernel, Srinivas Kandagatla
Looks like some platforms are not yet using COMMON CLK.
PowerPC allyesconfig failed with below error in next
ld: sound/soc/codecs/wcd934x.o:(.toc+0x0):
undefined reference to `of_clk_src_simple_get'
ld: sound/soc/codecs/wcd934x.o: in function `.wcd934x_codec_probe':
wcd934x.c:(.text.wcd934x_codec_probe+0x3d4):
undefined reference to `.__clk_get_name'
ld: wcd934x.c:(.text.wcd934x_codec_probe+0x438):
undefined reference to `.clk_hw_register'
ld: wcd934x.c:(.text.wcd934x_codec_probe+0x474):
undefined reference to `.of_clk_add_provider'
Add the missing COMMON_CLK dependency to fix this errors.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
Changes since v1:
- Rebased on top of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git next branch
sound/soc/codecs/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index c9eb683bd1b0..286514865960 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1334,6 +1334,7 @@ config SND_SOC_WCD9335
config SND_SOC_WCD934X
tristate "WCD9340/WCD9341 Codec"
+ depends on COMMON_CLK
depends on MFD_WCD934X
help
The WCD9340/9341 is a audio codec IC Integrated in
--
2.21.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Applied "ASoC: wcd934x: Add missing COMMON_CLK dependency" to the asoc tree
2020-02-04 11:12 [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency Srinivas Kandagatla
@ 2020-02-04 11:23 ` Mark Brown
2020-02-04 13:21 ` [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency Geert Uytterhoeven
1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2020-02-04 11:23 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: alsa-devel, broonie, lee.jones, linux-kernel, Mark Brown, sfr,
Stephen Rothwell
The patch
ASoC: wcd934x: Add missing COMMON_CLK dependency
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.6
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
From 42b716359beca10684195fd6e93a74ecd8ca8003 Mon Sep 17 00:00:00 2001
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Date: Tue, 4 Feb 2020 11:12:41 +0000
Subject: [PATCH] ASoC: wcd934x: Add missing COMMON_CLK dependency
Looks like some platforms are not yet using COMMON CLK.
PowerPC allyesconfig failed with below error in next
ld: sound/soc/codecs/wcd934x.o:(.toc+0x0):
undefined reference to `of_clk_src_simple_get'
ld: sound/soc/codecs/wcd934x.o: in function `.wcd934x_codec_probe':
wcd934x.c:(.text.wcd934x_codec_probe+0x3d4):
undefined reference to `.__clk_get_name'
ld: wcd934x.c:(.text.wcd934x_codec_probe+0x438):
undefined reference to `.clk_hw_register'
ld: wcd934x.c:(.text.wcd934x_codec_probe+0x474):
undefined reference to `.of_clk_add_provider'
Add the missing COMMON_CLK dependency to fix this errors.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200204111241.6927-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index c9eb683bd1b0..286514865960 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1334,6 +1334,7 @@ config SND_SOC_WCD9335
config SND_SOC_WCD934X
tristate "WCD9340/WCD9341 Codec"
+ depends on COMMON_CLK
depends on MFD_WCD934X
help
The WCD9340/9341 is a audio codec IC Integrated in
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency
2020-02-04 11:12 [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency Srinivas Kandagatla
2020-02-04 11:23 ` Applied "ASoC: wcd934x: Add missing COMMON_CLK dependency" to the asoc tree Mark Brown
@ 2020-02-04 13:21 ` Geert Uytterhoeven
2020-02-05 0:37 ` Stephen Rothwell
1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2020-02-04 13:21 UTC (permalink / raw)
To: Srinivas Kandagatla
Cc: Mark Brown, ALSA Development Mailing List, Stephen Rothwell,
Lee Jones, Linux Kernel Mailing List
Hi Srinivas,
On Tue, Feb 4, 2020 at 12:14 PM Srinivas Kandagatla
<srinivas.kandagatla@linaro.org> wrote:
> Looks like some platforms are not yet using COMMON CLK.
>
> PowerPC allyesconfig failed with below error in next
>
> ld: sound/soc/codecs/wcd934x.o:(.toc+0x0):
> undefined reference to `of_clk_src_simple_get'
> ld: sound/soc/codecs/wcd934x.o: in function `.wcd934x_codec_probe':
> wcd934x.c:(.text.wcd934x_codec_probe+0x3d4):
> undefined reference to `.__clk_get_name'
> ld: wcd934x.c:(.text.wcd934x_codec_probe+0x438):
> undefined reference to `.clk_hw_register'
> ld: wcd934x.c:(.text.wcd934x_codec_probe+0x474):
> undefined reference to `.of_clk_add_provider'
>
> Add the missing COMMON_CLK dependency to fix this errors.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thanks for your patch!
But did this change really fix your PowerPC allyesconfig build?
SND_SOC_ALL_CODECS will still select it...
Fix sent.
Disclaimer: tested with m68k/allmodconfig only ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency
2020-02-04 13:21 ` [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency Geert Uytterhoeven
@ 2020-02-05 0:37 ` Stephen Rothwell
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2020-02-05 0:37 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Srinivas Kandagatla, Mark Brown, ALSA Development Mailing List,
Lee Jones, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]
Hi Geert,
On Tue, 4 Feb 2020 14:21:01 +0100 Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> On Tue, Feb 4, 2020 at 12:14 PM Srinivas Kandagatla
> <srinivas.kandagatla@linaro.org> wrote:
> > Looks like some platforms are not yet using COMMON CLK.
> >
> > PowerPC allyesconfig failed with below error in next
> >
> > ld: sound/soc/codecs/wcd934x.o:(.toc+0x0):
> > undefined reference to `of_clk_src_simple_get'
> > ld: sound/soc/codecs/wcd934x.o: in function `.wcd934x_codec_probe':
> > wcd934x.c:(.text.wcd934x_codec_probe+0x3d4):
> > undefined reference to `.__clk_get_name'
> > ld: wcd934x.c:(.text.wcd934x_codec_probe+0x438):
> > undefined reference to `.clk_hw_register'
> > ld: wcd934x.c:(.text.wcd934x_codec_probe+0x474):
> > undefined reference to `.of_clk_add_provider'
> >
> > Add the missing COMMON_CLK dependency to fix this errors.
> >
> > Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>
> Thanks for your patch!
>
> But did this change really fix your PowerPC allyesconfig build?
It does not :-(
> SND_SOC_ALL_CODECS will still select it...
>
> Fix sent.
I have applied that patch to linux-next today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-05 0:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 11:12 [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency Srinivas Kandagatla
2020-02-04 11:23 ` Applied "ASoC: wcd934x: Add missing COMMON_CLK dependency" to the asoc tree Mark Brown
2020-02-04 13:21 ` [PATCH v2] ASoC: wcd934x: Add missing COMMON_CLK dependency Geert Uytterhoeven
2020-02-05 0:37 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®