Skip to content

Commit

Permalink
[PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Jul 13, 2005
1 parent f264cc2 commit a61caa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/joystick/amijoy.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int amijoy_open(struct input_dev *dev)

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);
Expand Down

0 comments on commit a61caa8

Please sign in to comment.