Skip to content
Commit ef74f70e authored by Brian Masney's avatar Brian Masney Committed by Linus Walleij
Browse files

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: default avatarBrian Masney <masneyb@onstation.org>
Suggested-by: default avatarStephen Boyd <sboyd@kernel.org>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 12a9eeae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment