提交 a61caa85 编写于 作者: G Geert Uytterhoeven 提交者: Linus Torvalds

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

Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f264cc28
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册