* [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
@ 2026-09-16 22:04 Rosen Penev
2026-09-17 17:24 ` Mark Brown
2026-09-17 18:55 ` Mark Brown
0 siblings, 2 replies; 5+ messages in thread
From: Rosen Penev @ 2026-09-16 22:04 UTC (permalink / raw)
To: linux-sound
Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
open list
The MPC5200 PSC AC97 driver only applies to the MPC52xx family of
SoCs, but only depended on PPC_BESTCOMM. Restrict the driver to
MPC52xx platforms so it is not offered (and does not fail to build)
on other bestcomm-based machines.
Fixes the following linking error:
ERROR: modpost: sound/soc/fsl/mpc5200_psc_ac97.ko: symbol 'mpc5200_psc_ac97_gpio_reset' undefined!
Assisted-by: LLM
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
sound/soc/fsl/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 04940879dfd8..101bc952aa14 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -234,7 +234,7 @@ config SND_SOC_MPC5200_I2S
config SND_SOC_MPC5200_AC97
tristate "Freescale MPC5200 PSC in AC97 mode driver"
- depends on PPC_BESTCOMM
+ depends on PPC_BESTCOMM && PPC_MPC52xx
select SND_SOC_AC97_BUS
select SND_MPC52xx_DMA
select PPC_BESTCOMM_GEN_BD
--
2.55.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
2026-09-16 22:04 [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx Rosen Penev
@ 2026-09-17 17:24 ` Mark Brown
2026-09-17 18:27 ` Rosen Penev
2026-09-17 18:55 ` Mark Brown
1 sibling, 1 reply; 5+ messages in thread
From: Mark Brown @ 2026-09-17 17:24 UTC (permalink / raw)
To: Rosen Penev
Cc: linux-sound, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
open list
[-- Attachment #1: Type: text/plain, Size: 635 bytes --]
On Wed, Sep 16, 2026 at 03:04:53PM -0700, Rosen Penev wrote:
> The MPC5200 PSC AC97 driver only applies to the MPC52xx family of
> SoCs, but only depended on PPC_BESTCOMM. Restrict the driver to
> MPC52xx platforms so it is not offered (and does not fail to build)
> on other bestcomm-based machines.
> config SND_SOC_MPC5200_AC97
> tristate "Freescale MPC5200 PSC in AC97 mode driver"
> - depends on PPC_BESTCOMM
> + depends on PPC_BESTCOMM && PPC_MPC52xx
The DMA controller has:
config PPC_BESTCOMM
tristate "Bestcomm DMA engine support"
depends on PPC_MPC52xx
so there's something else going on here I think.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
2026-09-17 17:24 ` Mark Brown
@ 2026-09-17 18:27 ` Rosen Penev
2026-09-17 18:54 ` Mark Brown
0 siblings, 1 reply; 5+ messages in thread
From: Rosen Penev @ 2026-09-17 18:27 UTC (permalink / raw)
To: Mark Brown
Cc: linux-sound, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
open list
On Thu, Sep 17, 2026 at 10:24 AM Mark Brown <broonie@kernel.org> wrote:
>
> On Wed, Sep 16, 2026 at 03:04:53PM -0700, Rosen Penev wrote:
> > The MPC5200 PSC AC97 driver only applies to the MPC52xx family of
> > SoCs, but only depended on PPC_BESTCOMM. Restrict the driver to
> > MPC52xx platforms so it is not offered (and does not fail to build)
> > on other bestcomm-based machines.
>
> > config SND_SOC_MPC5200_AC97
> > tristate "Freescale MPC5200 PSC in AC97 mode driver"
> > - depends on PPC_BESTCOMM
> > + depends on PPC_BESTCOMM && PPC_MPC52xx
>
> The DMA controller has:
>
> config PPC_BESTCOMM
> tristate "Bestcomm DMA engine support"
> depends on PPC_MPC52xx
>
> so there's something else going on here I think.
It was requested that I split up from
https://lore.kernel.org/dmaengine/aqrxFTWEsJmFIrel@SMW015318/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
2026-09-17 18:27 ` Rosen Penev
@ 2026-09-17 18:54 ` Mark Brown
0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2026-09-17 18:54 UTC (permalink / raw)
To: Rosen Penev
Cc: linux-sound, Liam Girdwood, Jaroslav Kysela, Takashi Iwai,
open list
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
On Thu, Sep 17, 2026 at 11:27:36AM -0700, Rosen Penev wrote:
> It was requested that I split up from
> https://lore.kernel.org/dmaengine/aqrxFTWEsJmFIrel@SMW015318/
Unless you mention that I'm not going to be able to tell that anything
else has changed...
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
2026-09-16 22:04 [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx Rosen Penev
2026-09-17 17:24 ` Mark Brown
@ 2026-09-17 18:55 ` Mark Brown
1 sibling, 0 replies; 5+ messages in thread
From: Mark Brown @ 2026-09-17 18:55 UTC (permalink / raw)
To: linux-sound, Rosen Penev
Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, linux-kernel
On Wed, 16 Sep 2026 15:04:53 -0700, Rosen Penev wrote:
> ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.4
Thanks!
[1/1] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
https://git.kernel.org/broonie/sound/c/ebdc596c4262
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] 5+ messages in thread
end of thread, other threads:[~2026-09-18 9:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 22:04 [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx Rosen Penev
2026-09-17 17:24 ` Mark Brown
2026-09-17 18:27 ` Rosen Penev
2026-09-17 18:54 ` Mark Brown
2026-09-17 18:55 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox