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

Commit ef2449ef authored by Kiran Gunda's avatar Kiran Gunda
Browse files

spmi: pmic-arb: Correct the peripheral mapping table size



spmi pmic arbiter V2 supports 256 peripherals. But the size
of the 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: I88f1a01f28ad831811d3865b748beb1cba678c7d
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent d57440af
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