mfd: fix pcap adc locking
authorDaniel Ribeiro <drwyrm@gmail.com>
Tue, 23 Jun 2009 15:30:58 +0000 (12:30 -0300)
committerSamuel Ortiz <sameol@linux.intel.com>
Fri, 3 Jul 2009 09:54:57 +0000 (11:54 +0200)
commit1c90ea2c7eb3b24a07a2f82164323588fb029bc1
tree0dea0df7b9e6833c0e1e057a5085404ead6401aa
parent992bb253cd6f08129edcb42b90e6c388ebf605f8
mfd: fix pcap adc locking

Release the lock on error.

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ezx-pcap.c