Patchwork [v2,1/3] ASoC: fsl: add PPC_MPC52xx dependency to SND_POWERPC_SOC

login
register
mail settings
Submitter Eric Millbrandt
Date Sept. 20, 2012, 2:36 p.m.
Message ID <1348151805-93991-1-git-send-email-emillbrandt@dekaresearch.com>
Download mbox | patch
Permalink /patch/185408/
State Accepted
Delegated to: Anatolij Gustschin
Headers show

Comments

Eric Millbrandt - Sept. 20, 2012, 2:36 p.m.
mpc52xx socs do not define FSL_SOC but need SND_POWERPC_SOC defined to build
ASoC drivers.

Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com>
---
Changes since v1:
Patch was "powerpc/52xx: define FSL_SOC"
Changed from defining FSL_SOC for PPC_MPC52xx to adding PPC_MPC52xx as a
dependency of SND_POWERPC_SOC as per Anatolij Gustschin's comment.

 sound/soc/fsl/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Mark Brown - Sept. 22, 2012, 3:01 p.m.
On Thu, Sep 20, 2012 at 10:36:43AM -0400, Eric Millbrandt wrote:
> mpc52xx socs do not define FSL_SOC but need SND_POWERPC_SOC defined to build
> ASoC drivers.

Applied, thanks.

Patch

diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index d701330..4563b28 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -6,7 +6,7 @@  config SND_SOC_FSL_UTILS
 
 menuconfig SND_POWERPC_SOC
 	tristate "SoC Audio for Freescale PowerPC CPUs"
-	depends on FSL_SOC
+	depends on FSL_SOC || PPC_MPC52xx
 	help
 	  Say Y or M if you want to add support for codecs attached to
 	  the PowerPC CPUs.