Commit a61caa85 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

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

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f264cc28
...@@ -105,7 +105,7 @@ out: ...@@ -105,7 +105,7 @@ out:
static void amijoy_close(struct input_dev *dev) static void amijoy_close(struct input_dev *dev)
{ {
down(&amijoysem); down(&amijoy_sem);
if (!--amijoy_used) if (!--amijoy_used)
free_irq(IRQ_AMIGA_VERTB, amijoy_interrupt); free_irq(IRQ_AMIGA_VERTB, amijoy_interrupt);
up(&amijoy_sem); up(&amijoy_sem);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment