]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: qcom: Add irq clear handling during SE init
authorAlok Chauhan <alokc@codeaurora.org>
Wed, 3 Oct 2018 12:23:50 +0000 (17:53 +0530)
committerAndy Gross <andy.gross@linaro.org>
Wed, 14 Nov 2018 17:51:50 +0000 (09:51 -0800)
commit279536a564f6479725ad23cb139783f16a974d4f
treef30d1114834ceac706b71fac771676f7dcad5cfb
parent651022382c7f8da46cb4872a545ee1da6d097d2a
soc: qcom: Add irq clear handling during SE init

when the kernel inits a SE, its quite possible we have pending interrupts
from bootloaders which did not handle/clear them. So do this in kernel at
the SE init, to avoid some of it causing bad behavior, while at it also
club all the register writes needed to clear the se irqs into a function
to avoid repeating it over.

Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/qcom-geni-se.c