]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Input: sentelic - release mutex upon register write failure
authorTai-hwa Liang <avatar@sentelic.com>
Fri, 23 Dec 2011 09:14:31 +0000 (01:14 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 23 Dec 2011 09:15:31 +0000 (01:15 -0800)
commitd9bae67a7a91a6cc2e7a99d5ae72ada62abcc993
tree767ca89b8f2cf174edcafc6eca2acdded17b5805
parent8521478f67e95ada4e87970c7b41e504c724b2cf
Input: sentelic - release mutex upon register write failure

Make sure that mutex is released upon register writing failure.
This fixes boot freezing observed on ARM based OLPC
(http://dev.laptop.org/ticket/11357).

Signed-off-by: Paul Fox <pgf@laptop.org>
Signed-off-by: Tai-hwa Liang <avatar@sentelic.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/sentelic.c