pinctrl: rockchip: missing unlock on error in rockchip_set_pull()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Nov 2013 08:22:54 +0000 (11:22 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Nov 2013 08:08:18 +0000 (09:08 +0100)
commitd32c3e260f95f5d8ed42c64dc2d9ec79cc36da1e
tree97651583914bd813b25b8ef3726cd6e48a0b748a
parentc590854dffc06095f38a63b3bdb9e4370282a53e
pinctrl: rockchip: missing unlock on error in rockchip_set_pull()

We need to unlock here before returning -EINVAL.

Fixes: 6ca5274d1d12 ('pinctrl: rockchip: add rk3188 specifics')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c