]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Unlock mutex before exiting trf7970a_irq()
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 23 Sep 2014 18:25:47 +0000 (11:25 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 23 Sep 2014 22:28:23 +0000 (00:28 +0200)
commitcfbd9962da3ed84b9c4c7ed98d6b12482a1a40d1
treedc37613321cabcd4e7c212900d6fe597e8d63b01
parentce5ef35c91f379167ecd9a207d5da42c8e389904
NFC: trf7970a: Unlock mutex before exiting trf7970a_irq()

Recent changes to trf7970a_irq() added a couple return
paths that don't unlock the mutex that is locked when
the routine is entered.  Fix this by ensuring the mutex
is always unlocked before returning.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c