soc: qcom: geni-se: Do not bother about enable/disable of interrupts in secondary...
authorVijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Wed, 14 Jun 2023 11:28:07 +0000 (16:58 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 14 Jun 2023 15:00:31 +0000 (08:00 -0700)
commit5d85ea2c879781d296bd770f562d33a58161d2b1
tree2ecda3660e26369796c2f24a885d9b2f93fb2b7e
parent8d66f7a07bc1412c7ffd9aa45602eb6e527dd87e
soc: qcom: geni-se: Do not bother about enable/disable of interrupts in secondary sequencer

The select_fifo/dma_mode() functions in geni driver enable/disable
interrupts (secondary included) conditionally for non-uart modes, while
uart is supposed to manage this internally.
However, only uart uses secondary IRQs while spi, i2c do not care about
these at all making their enablement (or disablement) totally unnecessary
for these protos.
Similarly, select_gpi_mode() also does disable s_irq and its useless again.

Drop enabling/disabling secondary IRQs.
This doesn't solve any observed problem but only gets rid of code pieces
that are not required.

Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1686742087-30731-1-git-send-email-quic_vnivarth@quicinc.com
drivers/soc/qcom/qcom-geni-se.c