[alsa-devel] [PATCH 01/19] ALSA: add Yamaha YMU831 codec support
Takashi Iwai
tiwai at suse.de
Wed Jan 16 12:38:05 CET 2013
At Wed, 16 Jan 2013 17:25:30 +0900,
Yoichi Yuasa wrote:
>
>
> Signed-off-by: Yoichi Yuasa <yuasa at linux-mips.org>
> ---
> 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
>
More information about the Alsa-devel
mailing list