diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-03-02 13:56:52 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-03-23 10:10:01 +0100 |
commit | d468289a021c638c84da29e21db7924c66571f25 (patch) | |
tree | 5581616e6bd07a444057f642d5f0b40b64ad27a4 /Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt | |
parent | 2afd450d78f5cff1659630265e65418b36caf709 (diff) |
pinctrl: rockchip: add irq_enable & irq_disable ops
Currently we are trying to enable/disable the clk of irq's gpio bank when
unmask/mask irq. But the kernel's "lazy disable approach" will skip masking
irq when the irq chip doesn't support irq_disable ops.
So we may hit this case:
irq_enable-> enable clk
irq_disable-> noop
irq_enable-> enable clk again
irq_disable-> noop
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt')
0 files changed, 0 insertions, 0 deletions