LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ASoC: mediatek: add required config dependency
@ 2021-09-09 6:55 Trevor Wu
2021-09-09 15:38 ` Mark Brown
2021-09-10 1:42 ` Randy Dunlap
0 siblings, 2 replies; 3+ messages in thread
From: Trevor Wu @ 2021-09-09 6:55 UTC (permalink / raw)
To: broonie, tiwai, matthias.bgg
Cc: trevor.wu, alsa-devel, linux-mediatek, linux-arm-kernel,
linux-kernel, rdunlap, geert, wenst, bicycle.tsai, jiaxin.yu,
shane.chien
Because SND_SOC_MT8195 depends on COMPILE_TEST, it's possible to build
MT8195 driver in many different config combinations.
Add all dependent config for SND_SOC_MT8195 in case some errors happen
when COMPILE_TEST is enabled.
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
---
sound/soc/mediatek/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig
index 5a2f4667d50b..81ad2dcee9eb 100644
--- a/sound/soc/mediatek/Kconfig
+++ b/sound/soc/mediatek/Kconfig
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config SND_SOC_MEDIATEK
tristate
+ select REGMAP_MMIO
config SND_SOC_MT2701
tristate "ASoC support for Mediatek MT2701 chip"
@@ -188,7 +189,9 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682
config SND_SOC_MT8195
tristate "ASoC support for Mediatek MT8195 chip"
depends on ARCH_MEDIATEK || COMPILE_TEST
+ depends on COMMON_CLK
select SND_SOC_MEDIATEK
+ select MFD_SYSCON if SND_SOC_MT6359
help
This adds ASoC platform driver support for Mediatek MT8195 chip
that can be used with other codecs.
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: mediatek: add required config dependency
2021-09-09 6:55 [PATCH] ASoC: mediatek: add required config dependency Trevor Wu
@ 2021-09-09 15:38 ` Mark Brown
2021-09-10 1:42 ` Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2021-09-09 15:38 UTC (permalink / raw)
To: tiwai, Trevor Wu, matthias.bgg
Cc: Mark Brown, wenst, linux-mediatek, rdunlap, jiaxin.yu,
linux-arm-kernel, shane.chien, alsa-devel, bicycle.tsai, geert,
linux-kernel
On Thu, 9 Sep 2021 14:55:33 +0800, Trevor Wu wrote:
> Because SND_SOC_MT8195 depends on COMPILE_TEST, it's possible to build
> MT8195 driver in many different config combinations.
> Add all dependent config for SND_SOC_MT8195 in case some errors happen
> when COMPILE_TEST is enabled.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: mediatek: add required config dependency
commit: 5a80dea93191d55840f42252ed3e4565a125a514
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
* Re: [PATCH] ASoC: mediatek: add required config dependency
2021-09-09 6:55 [PATCH] ASoC: mediatek: add required config dependency Trevor Wu
2021-09-09 15:38 ` Mark Brown
@ 2021-09-10 1:42 ` Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-09-10 1:42 UTC (permalink / raw)
To: Trevor Wu, broonie, tiwai, matthias.bgg
Cc: alsa-devel, linux-mediatek, linux-arm-kernel, linux-kernel,
geert, wenst, bicycle.tsai, jiaxin.yu, shane.chien
On 9/8/21 11:55 PM, Trevor Wu wrote:
> Because SND_SOC_MT8195 depends on COMPILE_TEST, it's possible to build
> MT8195 driver in many different config combinations.
> Add all dependent config for SND_SOC_MT8195 in case some errors happen
> when COMPILE_TEST is enabled.
>
> Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Thanks.
> ---
> sound/soc/mediatek/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig
> index 5a2f4667d50b..81ad2dcee9eb 100644
> --- a/sound/soc/mediatek/Kconfig
> +++ b/sound/soc/mediatek/Kconfig
> @@ -1,6 +1,7 @@
> # SPDX-License-Identifier: GPL-2.0-only
> config SND_SOC_MEDIATEK
> tristate
> + select REGMAP_MMIO
>
> config SND_SOC_MT2701
> tristate "ASoC support for Mediatek MT2701 chip"
> @@ -188,7 +189,9 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682
> config SND_SOC_MT8195
> tristate "ASoC support for Mediatek MT8195 chip"
> depends on ARCH_MEDIATEK || COMPILE_TEST
> + depends on COMMON_CLK
> select SND_SOC_MEDIATEK
> + select MFD_SYSCON if SND_SOC_MT6359
> help
> This adds ASoC platform driver support for Mediatek MT8195 chip
> that can be used with other codecs.
>
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-10 1:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 6:55 [PATCH] ASoC: mediatek: add required config dependency Trevor Wu
2021-09-09 15:38 ` Mark Brown
2021-09-10 1:42 ` Randy Dunlap
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).