diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-01-11 04:02:40 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-01-11 04:02:40 +0000 |
commit | e47f00743fc4776491344f2c618cc8dc2c23bcbc (patch) | |
tree | 13e03a113a82a184c51c19c209867cfd3a59b3b9 /arch/m68k/amiga/amisound.c | |
parent | b2ad5f821b1381492d792ca10b1eb7a107b48f14 (diff) |
Merge with Linux 2.4.0.
Diffstat (limited to 'arch/m68k/amiga/amisound.c')
-rw-r--r-- | arch/m68k/amiga/amisound.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/m68k/amiga/amisound.c b/arch/m68k/amiga/amisound.c index 4c94f7862..aaec835f3 100644 --- a/arch/m68k/amiga/amisound.c +++ b/arch/m68k/amiga/amisound.c @@ -97,13 +97,10 @@ void amiga_mksound( unsigned int hz, unsigned int ticks ) /* turn on DMA for audio channel 2 */ custom.dmacon = DMAF_SETCLR | DMAF_AUD2; - restore_flags(flags); - return; - } else { + } else nosound( 0 ); - restore_flags(flags); - return; - } + + restore_flags(flags); } @@ -113,4 +110,4 @@ static void nosound( unsigned long ignored ) custom.dmacon = DMAF_AUD2; /* restore period to previous value after beeping */ custom.aud[2].audper = amiga_audio_period; -} +} |