]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFC: Fix missing mutex unlock in pn533_send_cmd_frame_async
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 27 Sep 2012 07:16:54 +0000 (09:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 27 Sep 2012 08:47:48 +0000 (10:47 +0200)
commitee5e8d812ca25bf95a97b4368aec4e680678e75e
treebf95e66764709d7785499e85937e805e77833d11
parentfe235b58d517d623bf6d40c77afca1b0ee6fc85d
NFC: Fix missing mutex unlock in pn533_send_cmd_frame_async

If command allocation failed cmd_lock was not released and deadlock
would occur.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c