From: Takashi Iwai Subject: Re: [PATCH 01/19] ALSA: add Yamaha YMU831 codec support Date: Wed, 16 Jan 2013 12:38:05 +0100 Message-ID: References: <20130116172530.857b627ef3303fb6fe43f603@linux-mips.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8BA152625EA for ; Wed, 16 Jan 2013 12:38:05 +0100 (CET) In-Reply-To: <20130116172530.857b627ef3303fb6fe43f603@linux-mips.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Yoichi Yuasa Cc: alsa-devel@alsa-project.org, Mark Brown List-Id: alsa-devel@alsa-project.org At Wed, 16 Jan 2013 17:25:30 +0900, Yoichi Yuasa wrote: > > > Signed-off-by: Yoichi Yuasa > --- > sound/soc/codecs/Kconfig | 6 ++++++ > sound/soc/codecs/Makefile | 1 + > sound/soc/codecs/ymu831/Makefile | 3 +++ > 3 files changed, 10 insertions(+) > create mode 100644 sound/soc/codecs/ymu831/Makefile Usually this kind of patch is applied at the last of series (although this patch doesn't seem to break the build)... And before Mark starts grumbling: please put ASoC maintainers to Cc when you post ASoC patches. thanks, Takashi > > diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig > index 3a84782..bb405b87 100644 > --- a/sound/soc/codecs/Kconfig > +++ b/sound/soc/codecs/Kconfig > @@ -122,6 +122,7 @@ config SND_SOC_ALL_CODECS > select SND_SOC_WM9705 if SND_SOC_AC97_BUS > select SND_SOC_WM9712 if SND_SOC_AC97_BUS > select SND_SOC_WM9713 if SND_SOC_AC97_BUS > + select SND_SOC_YMU831 if SPI_MASTER > help > Normally ASoC codec drivers are only built if a machine driver which > uses them is also built since they are only usable with a machine > @@ -494,6 +495,11 @@ config SND_SOC_WM9712 > config SND_SOC_WM9713 > tristate > > +config SND_SOC_YMU831 > + tristate > + select SND_HWDEP > + > + > # Amp > config SND_SOC_LM4857 > tristate > diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile > index f6e8e36..1d31783 100644 > --- a/sound/soc/codecs/Makefile > +++ b/sound/soc/codecs/Makefile > @@ -236,6 +236,7 @@ obj-$(CONFIG_SND_SOC_WM9712) += snd-soc-wm9712.o > obj-$(CONFIG_SND_SOC_WM9713) += snd-soc-wm9713.o > obj-$(CONFIG_SND_SOC_WM_ADSP) += snd-soc-wm-adsp.o > obj-$(CONFIG_SND_SOC_WM_HUBS) += snd-soc-wm-hubs.o > +obj-$(CONFIG_SND_SOC_YMU831) += ymu831/ > > # Amp > obj-$(CONFIG_SND_SOC_MAX9877) += snd-soc-max9877.o > diff --git a/sound/soc/codecs/ymu831/Makefile b/sound/soc/codecs/ymu831/Makefile > new file mode 100644 > index 0000000..5b3f66d > --- /dev/null > +++ b/sound/soc/codecs/ymu831/Makefile > @@ -0,0 +1,3 @@ > +snd-soc-ymu831-objs := \ > + > +obj-$(CONFIG_SND_SOC_YMU831) += snd-soc-ymu831.o > -- > 1.7.9.5 >