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)
commitb9e3016a5369839bf923c8d2bec9d1552e50f3f3
treedc37613321cabcd4e7c212900d6fe597e8d63b01
parent55ef2e75ccf0d91f7b2f4251dc3b9e56df840928
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