]> 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)
commit69bb75204cd977f898b13d15a37bfb88e2667e93
treedc37613321cabcd4e7c212900d6fe597e8d63b01
parent45fefaa2fc100ba3c10a497ec3cd0432f48d2fcb
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