summaryrefslogtreecommitdiffstats
path: root/sound/sh/Makefile
diff options
context:
space:
mode:
authorRafael Ignacio Zurita <rizurita@yahoo.com>2009-11-03 21:16:27 +0100
committerTakashi Iwai <tiwai@suse.de>2009-11-04 09:17:40 +0100
commit9dcaa7b25f2c8f6a0485854cd3641f585a154072 (patch)
tree1f3453a235682f5ba4b4357633f3546a4dbf4e2b /sound/sh/Makefile
parentALSA: snd-pcsp: add nopcm mode (diff)
downloadlinux-9dcaa7b25f2c8f6a0485854cd3641f585a154072.tar.xz
linux-9dcaa7b25f2c8f6a0485854cd3641f585a154072.zip
ALSA: sh: add SuperH DAC audio driver for ALSA V4
This is a port of the sound/oss/sh_dac_audio.c driver. The driver uses an on-chip 8-bit D/A converter, which has a speaker connected to one of its channels, found in several ancient HP machines. For interrupts it uses a high-resolution timer (hrtimer). Tested on SH7709 based hp6xx (HP Jornada 680/690 and HP Palmtop 620lx/660lx). Also, since OSS Emulation works, the old OSS sound/oss/sh_dac_audio.c driver would be obsolete soon, and it could be removed. Signed-off-by: Rafael Ignacio Zurita <rizurita@yahoo.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh/Makefile')
-rw-r--r--sound/sh/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/sh/Makefile b/sound/sh/Makefile
index 8fdcb6e26f00..7d09b5188cf7 100644
--- a/sound/sh/Makefile
+++ b/sound/sh/Makefile
@@ -3,6 +3,8 @@
#
snd-aica-objs := aica.o
+snd-sh_dac_audio-objs := sh_dac_audio.o
# Toplevel Module Dependency
obj-$(CONFIG_SND_AICA) += snd-aica.o
+obj-$(CONFIG_SND_SH_DAC_AUDIO) += snd-sh_dac_audio.o