diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2009-01-21 15:14:09 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-21 15:12:40 +0100 |
commit | a17ac45a5da76f851faf0b6502f66c1205159469 (patch) | |
tree | 500363c66caf37a4a2dc067c8809e0c667d3eab7 /sound/isa/ad1816a/ad1816a_lib.c | |
parent | ALSA: do not create OPL3 timers if there is no OPL3 irq wired (diff) | |
download | linux-a17ac45a5da76f851faf0b6502f66c1205159469.tar.xz linux-a17ac45a5da76f851faf0b6502f66c1205159469.zip |
ALSA: ad1816a: enable hardware timer
Enable hardware timer with 10 usec resolution.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/ad1816a/ad1816a_lib.c')
-rw-r--r-- | sound/isa/ad1816a/ad1816a_lib.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/isa/ad1816a/ad1816a_lib.c b/sound/isa/ad1816a/ad1816a_lib.c index 3bfca7c59baf..1c9e01ecac0b 100644 --- a/sound/isa/ad1816a/ad1816a_lib.c +++ b/sound/isa/ad1816a/ad1816a_lib.c @@ -377,7 +377,6 @@ static struct snd_pcm_hardware snd_ad1816a_capture = { .fifo_size = 0, }; -#if 0 /* not used now */ static int snd_ad1816a_timer_close(struct snd_timer *timer) { struct snd_ad1816a *chip = snd_timer_chip(timer); @@ -442,8 +441,6 @@ static struct snd_timer_hardware snd_ad1816a_timer_table = { .start = snd_ad1816a_timer_start, .stop = snd_ad1816a_timer_stop, }; -#endif /* not used now */ - static int snd_ad1816a_playback_open(struct snd_pcm_substream *substream) { @@ -687,7 +684,6 @@ int __devinit snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_p return 0; } -#if 0 /* not used now */ int __devinit snd_ad1816a_timer(struct snd_ad1816a *chip, int device, struct snd_timer **rtimer) { struct snd_timer *timer; @@ -709,7 +705,6 @@ int __devinit snd_ad1816a_timer(struct snd_ad1816a *chip, int device, struct snd *rtimer = timer; return 0; } -#endif /* not used now */ /* * |