iio: frequency: ad9523: unlock on error in ad9523_reg_access()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Jun 2012 06:54:03 +0000 (09:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 21:45:16 +0000 (14:45 -0700)
commit17c88eb6a09bafb75644b8c37fd65c89c8f49bec
treec654f4655a5cc51ca5bd39b74fbe296be45cc9e9
parent03afcf472785a63d720202d28d51852d965a95d9
iio: frequency: ad9523: unlock on error in ad9523_reg_access()

There was a return path which got missed accidentally.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/frequency/ad9523.c