ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
PATCH 1/1 ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx
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!
--- sound/soc/fsl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/Kconfig +1 -1
@@ -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
Signature · 1 line
2.55.0
Mark Brown
maintainersound/soc/fsl/Kconfig config SND_SOC_MPC5200_I2S · line 237
Quoted 9 lines · Rosen Penev
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_AC97sound/soc/fsl/Kconfig +1
-1tristate "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.
Quoted 12 lines · Mark Brown
sound/soc/fsl/Kconfig config SND_SOC_MPC5200_I2S · line 237
Quoted 9 lines · Rosen Penev
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"sound/soc/fsl/Kconfig +1
-1- depends on PPC_BESTCOMM + depends on PPC_BESTCOMM && PPC_MPC52xx
Quoted 7 lines
The DMA controller has:
config
PPC_BESTCOMM
tristate "Bestcomm DMA engine support"
depends onPPC_MPC52xxso there's something else going on here I think.
It was requested that I split up from
https://lore.kernel.org/dmaengine/aqrxFTWEsJmFIrel@SMW015318/
Mark Brown
maintainerQuoted 2 lines · Rosen Penev
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...
Mark Brown
maintainerQuoted 1 line · Rosen Penev
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