From patchwork Thu Feb 2 02:12:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhao X-Patchwork-Id: 6561 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EBB8F23E16 for ; Thu, 2 Feb 2012 02:13:04 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id A3D3BA180AC for ; Thu, 2 Feb 2012 02:13:04 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id z7so3346576iab.11 for ; Wed, 01 Feb 2012 18:13:04 -0800 (PST) Received: by 10.42.177.133 with SMTP id bi5mr1023191icb.40.1328148784367; Wed, 01 Feb 2012 18:13:04 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.169.210 with SMTP id a18cs34150ibz; Wed, 1 Feb 2012 18:13:04 -0800 (PST) Received: by 10.68.224.104 with SMTP id rb8mr3083779pbc.107.1328148783740; Wed, 01 Feb 2012 18:13:03 -0800 (PST) Received: from TX2EHSOBE007.bigfish.com (tx2ehsobe004.messaging.microsoft.com. [65.55.88.14]) by mx.google.com with ESMTPS id o4si1467436pbq.246.2012.02.01.18.13.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Feb 2012 18:13:03 -0800 (PST) Received-SPF: neutral (google.com: 65.55.88.14 is neither permitted nor denied by best guess record for domain of richard.zhao@linaro.org) client-ip=65.55.88.14; Authentication-Results: mx.google.com; spf=neutral (google.com: 65.55.88.14 is neither permitted nor denied by best guess record for domain of richard.zhao@linaro.org) smtp.mail=richard.zhao@linaro.org Received: from mail162-tx2-R.bigfish.com (10.9.14.235) by TX2EHSOBE007.bigfish.com (10.9.40.27) with Microsoft SMTP Server id 14.1.225.23; Thu, 2 Feb 2012 02:13:01 +0000 Received: from mail162-tx2 (localhost [127.0.0.1]) by mail162-tx2-R.bigfish.com (Postfix) with ESMTP id C0E722204B5; Thu, 2 Feb 2012 02:13:01 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275dhz2dh87h2a8h668h839h) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-DOMAIN-IP-MATCH: fail Received: from mail162-tx2 (localhost.localdomain [127.0.0.1]) by mail162-tx2 (MessageSwitch) id 1328148779282753_11338; Thu, 2 Feb 2012 02:12:59 +0000 (UTC) Received: from TX2EHSMHS033.bigfish.com (unknown [10.9.14.245]) by mail162-tx2.bigfish.com (Postfix) with ESMTP id 321624A0047; Thu, 2 Feb 2012 02:12:59 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS033.bigfish.com (10.9.99.133) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 2 Feb 2012 02:12:55 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server id 14.1.355.3; Wed, 1 Feb 2012 20:12:55 -0600 Received: from b20223-02.ap.freescale.net (b20223-02.ap.freescale.net [10.192.242.124]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id q122CTOh028023; Wed, 1 Feb 2012 20:12:52 -0600 (CST) From: Richard Zhao To: CC: , , , , , , , , Richard Zhao Subject: [PATCH v2 7/9] ARM: mxc: move audmux-v2 to sound/soc/imx Date: Thu, 2 Feb 2012 10:12:06 +0800 Message-ID: <1328148728-32258-8-git-send-email-richard.zhao@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1328148728-32258-1-git-send-email-richard.zhao@linaro.org> References: <1328148728-32258-1-git-send-email-richard.zhao@linaro.org> MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com It's for clean up code under arch/arm. audmux.h is shared with audmux-v1, leave it under mach/. Signed-off-by: Richard Zhao --- arch/arm/plat-mxc/Kconfig | 3 --- arch/arm/plat-mxc/Makefile | 1 - sound/soc/imx/Kconfig | 4 ++++ sound/soc/imx/Makefile | 2 ++ {arch/arm/plat-mxc => sound/soc/imx}/audmux-v2.c | 0 5 files changed, 6 insertions(+), 4 deletions(-) rename {arch/arm/plat-mxc => sound/soc/imx}/audmux-v2.c (100%) diff --git a/arch/arm/plat-mxc/audmux-v2.c b/sound/soc/imx/audmux-v2.c similarity index 100% rename from arch/arm/plat-mxc/audmux-v2.c rename to sound/soc/imx/audmux-v2.c diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index dcebb12..9e47d9c 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig @@ -91,9 +91,6 @@ config ARCH_MXC_IOMUX_V3 config ARCH_MXC_AUDMUX_V1 bool -config ARCH_MXC_AUDMUX_V2 - bool - config IRAM_ALLOC bool select GENERIC_ALLOCATOR diff --git a/arch/arm/plat-mxc/Makefile b/arch/arm/plat-mxc/Makefile index 076db84f..0cd5d8a 100644 --- a/arch/arm/plat-mxc/Makefile +++ b/arch/arm/plat-mxc/Makefile @@ -15,7 +15,6 @@ obj-$(CONFIG_MXC_PWM) += pwm.o obj-$(CONFIG_MXC_ULPI) += ulpi.o obj-$(CONFIG_MXC_USE_EPIT) += epit.o obj-$(CONFIG_ARCH_MXC_AUDMUX_V1) += audmux-v1.o -obj-$(CONFIG_ARCH_MXC_AUDMUX_V2) += audmux-v2.o obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o obj-$(CONFIG_CPU_FREQ_IMX) += cpufreq.o ifdef CONFIG_SND_IMX_SOC diff --git a/sound/soc/imx/Kconfig b/sound/soc/imx/Kconfig index 7383917..f9eb436 100644 --- a/sound/soc/imx/Kconfig +++ b/sound/soc/imx/Kconfig @@ -17,10 +17,14 @@ config SND_MXC_SOC_FIQ config SND_MXC_SOC_MX2 tristate +config SND_MXC_SOC_AUDMUXV2 + tristate + config SND_MXC_SOC_WM1133_EV1 tristate "Audio on the the i.MX31ADS with WM1133-EV1 fitted" depends on MACH_MX31ADS_WM1133_EV1 && EXPERIMENTAL select SND_SOC_WM8350 + select SND_MXC_SOC_AUDMUXV2 select SND_MXC_SOC_FIQ help Enable support for audio on the i.MX31ADS with the WM1133-EV1 diff --git a/sound/soc/imx/Makefile b/sound/soc/imx/Makefile index d6d609b..703ab5e 100644 --- a/sound/soc/imx/Makefile +++ b/sound/soc/imx/Makefile @@ -2,10 +2,12 @@ snd-soc-imx-objs := imx-ssi.o snd-soc-imx-fiq-objs := imx-pcm-fiq.o snd-soc-imx-mx2-objs := imx-pcm-dma-mx2.o +snd-soc-imx-audmuxv2-objs := audmux-v2.o obj-$(CONFIG_SND_IMX_SOC) += snd-soc-imx.o obj-$(CONFIG_SND_MXC_SOC_FIQ) += snd-soc-imx-fiq.o obj-$(CONFIG_SND_MXC_SOC_MX2) += snd-soc-imx-mx2.o +obj-$(CONFIG_SND_MXC_SOC_AUDMUXV2) += snd-soc-imx-audmuxv2.o # i.MX Machine Support snd-soc-eukrea-tlv320-objs := eukrea-tlv320.o