Patchwork powerpc/5200: enable audio in the defconfig

login
register
mail settings
Submitter Timur Tabi
Date Sept. 1, 2011, 10:31 p.m.
Message ID <1314916282-13863-1-git-send-email-timur@freescale.com>
Download mbox | patch
Permalink /patch/113022/
State Accepted
Delegated to: Anatolij Gustschin
Headers show

Comments

Timur Tabi - Sept. 1, 2011, 10:31 p.m.
Audio support for the MPC5200 exists, so enable it by default.

Signed-off-by: Timur Tabi <timur@freescale.com>
---

There was a bug in the audio drivers related to the of_platform
changes that was never discovered because these drivers were
never compiled by default.  This patch should make sure that
never happens again.

 arch/powerpc/configs/mpc5200_defconfig |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
Wolfram Sang - Sept. 2, 2011, 8:09 a.m.
On Thu, Sep 01, 2011 at 05:31:22PM -0500, Timur Tabi wrote:
> Audio support for the MPC5200 exists, so enable it by default.
> 
> Signed-off-by: Timur Tabi <timur@freescale.com>

Yup, I like to have the PCM030 in a working state

Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Anatolij Gustschin - Sept. 22, 2011, 11:01 p.m.
On Thu, 1 Sep 2011 17:31:22 -0500
Timur Tabi <timur@freescale.com> wrote:

> Audio support for the MPC5200 exists, so enable it by default.
> 
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
> 
> There was a bug in the audio drivers related to the of_platform
> changes that was never discovered because these drivers were
> never compiled by default.  This patch should make sure that
> never happens again.
> 
>  arch/powerpc/configs/mpc5200_defconfig |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)

applied to next, thanks.

Anatolij

Patch

diff --git a/arch/powerpc/configs/mpc5200_defconfig b/arch/powerpc/configs/mpc5200_defconfig
index e63f537..2a1320f 100644
--- a/arch/powerpc/configs/mpc5200_defconfig
+++ b/arch/powerpc/configs/mpc5200_defconfig
@@ -88,6 +88,18 @@  CONFIG_FB_RADEON=y
 # CONFIG_VGA_CONSOLE is not set
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_LOGO=y
+CONFIG_SOUND=y
+CONFIG_SND=y
+# CONFIG_SND_SUPPORT_OLD_API is not set
+# CONFIG_SND_DRIVERS is not set
+# CONFIG_SND_PCI is not set
+# CONFIG_SND_PPC is not set
+# CONFIG_SND_SPI is not set
+# CONFIG_SND_USB is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_MPC5200_I2S=y
+CONFIG_SND_MPC52xx_SOC_PCM030=y
+CONFIG_SND_MPC52xx_SOC_EFIKA=y
 CONFIG_HID_DRAGONRISE=y
 CONFIG_HID_GYRATION=y
 CONFIG_HID_TWINHAN=y