Skip to contentSkip to conversation

sh: sh_dac_audio fixes

PATCH New Magnus Damm 1 participant 1 message May 14, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: sh_dac_audio fixes

From: Magnus Damm <[email protected]>

This patch modifies sh_dac_audio in the following ways:
- use high resolution timer instead of TMU1
- fix cpu/dac.h include
- add CONFIG_SH_HP6XX ifdefs
- add future rewrite comment

---

 sound/oss/Kconfig        |    2 -
 sound/oss/sh_dac_audio.c |   81 +++++++++++++++++-----------------------------
 2 files changed, 32 insertions(+), 51 deletions(-)
sound/oss/Kconfig +1 -1
@@ -561,7 +561,7 @@ endif	# SOUND_OSS
 
 config SOUND_SH_DAC_AUDIO
 	tristate "SuperH DAC audio support"
-	depends on CPU_SH3
+	depends on CPU_SH3 && HIGH_RES_TIMERS
 
 config SOUND_SH_DAC_AUDIO_CHANNEL
 	int "DAC channel"
sound/oss/sh_dac_audio.c +31 -49

169 lines not on this page · raw message