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

Commit 6649213f authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
Browse files

spmi: pmic-arb: Correct the mapping table size



spmi pmic arbiter V2 supports 256 peripherals. But the size
of the spmi peripheral mapping table in the driver is defined
as 255, which leads to the buffer overflow. Fix it by correcting
the mapping table size to 256.

Change-Id: I096e35bae470a56af94edca98e3e793cf3ec1751
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 79f29463
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