diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2021-07-12 15:57:02 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-08-04 22:20:03 -0500 |
commit | c73a6852b42c8c80cc46590dbbcfa6c448fdbc63 (patch) | |
tree | a531affc89a36dfee5df5d8cc829b15bbb623174 /lib | |
parent | ad68c620b7b296aab9cbe61802e329c04fde8385 (diff) |
soc: qcom: smsm: Implement support for get_irqchip_state
At the moment there is no way for drivers to get the current state
of the interrupt signal reported by a remote processor. The irqchip
API has generic functionality for this, using irq_get_irqchip_state().
Implement support for getting the IRQCHIP_STATE_LINE_LEVEL by reading
the remote state and checking the bit for the specified IRQ.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20210712135703.324748-1-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions