diff options
author | Brian Masney <masneyb@onstation.org> | 2019-01-19 15:42:42 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-01-24 15:33:04 +0100 |
commit | ef74f70e5a10cc2a78cc5529e564170cabcda9af (patch) | |
tree | 95bbdf0e9e868ee3ed31bbf796e57f49c28864ae /drivers/spmi | |
parent | 12a9eeaebba34f4f0abe1548ecb460414e285c49 (diff) | |
download | linux-ef74f70e5a10cc2a78cc5529e564170cabcda9af.tar.bz2 |
gpio: add irq domain activate/deactivate functions
This adds the two new functions gpiochip_irq_domain_activate and
gpiochip_irq_domain_deactivate that can be used as the activate and
deactivate functions in the struct irq_domain_ops. This is for
situations where only gpiochip_{lock,unlock}_as_irq needs to be called.
SPMI and SSBI GPIO are two users that will initially use these
functions.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Suggested-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions