Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 60648845 authored by Channagoud Kadabi's avatar Channagoud Kadabi Committed by Gerrit - the friendly Code Review server
Browse files

drivers: edac: Register IRQ after all the resources are allocated



llcc ecc interrupt handler registers for interrupt and then allocates
for resources. These resources are used in the interrupt handler. So
there is small window after interrupt is registered and resources are
allocated where ecc can happen. This results into NULL pointer
exception. Avoid the race condition by moving the interrupt registration
after all the resources are allocated.

Change-Id: I26efb8c243ff155e75be837188cfc5f998400cf5
Signed-off-by: default avatarChannagoud Kadabi <ckadabi@codeaurora.org>
parent 01c4c2e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment