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

Skip to content
Commit 74b22b6a authored by Maulik Shah's avatar Maulik Shah
Browse files

irqchip: pdc: Iterate for actual available pdc regs during hibernation



Current implementation iterates through maximum possible registers
of PDC to save status during hibernation. However some targets have
limited PDC registers available.

Fix this by counting during init time.

Change-Id: I37b048e0edf12cc81efca2087f92c867acb4ed93
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent b7ecd5e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment