phy: miphy28lp: unlock on error in miphy28lp_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 16 Dec 2014 23:55:23 +0000 (02:55 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 23 Dec 2014 10:14:31 +0000 (15:44 +0530)
commit4e038e8919e072c9fa1b5462a7c89d8c95ac8657
tree1f95e89db01589c116dca8231160c6d0de65ad07
parentaa39477b5692611b91ac9455ae588738852b3f60
phy: miphy28lp: unlock on error in miphy28lp_init()

We need to unlock before returning the -EINVAL here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-miphy28lp.c