]> git.baikalelectronics.ru Git - kernel.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)
commita7d7fd009ba1d2e3a6b918b16247da55157741c9
treef30d1114834ceac706b71fac771676f7dcad5cfb
parenta9e80a095d95d1159b26f73bd6d9c2fadc7fb411
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