Home
last modified time | relevance | path

Searched hist:c73a6852 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/soc/qcom/
H A Dsmsm.cc73a6852 Mon Jul 12 08:57:02 CDT 2021 Stephan Gerhold <stephan@gerhold.net> 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>