pinctrl: sunxi: drop lock on error path
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Aug 2013 17:17:13 +0000 (19:17 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Aug 2013 07:57:27 +0000 (09:57 +0200)
commit07b7eb927994b8e78267a20244ecc9d49fb15d95
treee3e671316ad7fb4598d551f15b6a2a7fc25b2f64
parentacf564a8f325566628a4ee2d9403cf1688cd0796
pinctrl: sunxi: drop lock on error path

I forgot to drop the lock for the return inside the loop
protected by the spinlock in the pin config routine when
merging in -rc7 in commit 6ad30ce046aefbdc3848232c665a728860d7bb68

Reported-by: Sherman Yin <syin@broadcom.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sunxi.c