Jelajahi Sumber

[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>
Geert Uytterhoeven 20 tahun lalu
induk
melakukan
a61caa8523
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      drivers/input/joystick/amijoy.c

+ 1 - 1
drivers/input/joystick/amijoy.c

@@ -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);