]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sirf: lock IRQs when starting them
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2014 09:07:07 +0000 (10:07 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jan 2014 12:59:44 +0000 (13:59 +0100)
commit7280b32ab88813516c25cd05ab6fe698e4d1fe01
treeaea78ed54dd956163418259153b396b0ae22c7b3
parent6967ae1cf2b16c3bc6d60f1f304c025edee23c89
pinctrl: sirf: lock IRQs when starting them

This uses the new API for tagging GPIO lines as in use by
IRQs. This enforces a few semantic checks on how the underlying
GPIO line is used.

Also assign the gpio_chip.dev pointer to be used for error
messages.

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