1
0
Fork 0

[PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Geert Uytterhoeven 2005-07-13 12:56:42 +02:00 committed by Linus Torvalds
parent f264cc2824
commit a61caa8523
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ out:
static void amijoy_close(struct input_dev *dev)
{
down(&amijoysem);
down(&amijoy_sem);
if (!--amijoy_used)
free_irq(IRQ_AMIGA_VERTB, amijoy_interrupt);
up(&amijoy_sem);