w1: w1_ds28e04: unlock on error path in w1_f1C_write_pio()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Apr 2012 13:39:06 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 22:37:35 +0000 (15:37 -0700)
commiteda70f1dfc9e5165b9413dbf1ccb5c108f26a18c
treeb22a3562f6aec42440eaadaee49b3cb785f51425
parent8f1e12512e9f1276b68c8b14a60961658c73336f
w1: w1_ds28e04: unlock on error path in w1_f1C_write_pio()

We should unlock here before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds28e04.c