pinctrl: sirf: fix spinlock deadlock in sirfsoc_gpio_set_input
authorBarry Song <Baohua.Song@csr.com>
Thu, 27 Sep 2012 09:55:17 +0000 (17:55 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Sep 2012 07:27:35 +0000 (09:27 +0200)
commit58d26c1eab8e94f89f17593e11d88a3821be6c3c
treec7b3c727f2d3db8ff24bcd6420d898be55b53343
parent8dd9766f68f647692fa38f339fb70f9c8560e729
pinctrl: sirf: fix spinlock deadlock in sirfsoc_gpio_set_input

sirfsoc_gpio_set_input() is called in those functions which have
held the spinlock, so delete the duplicated locking.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sirf.c