]> 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)
commitd318420cbe788e9644bdca4f9f552cba01414333
treeaea78ed54dd956163418259153b396b0ae22c7b3
parentbe17a8b51418d66215caf13d48a24d365ccb1a43
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