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

Commit 9587368e authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: qpnp-smbcharger: Access dcin limit array properly



The loop starts with the iterator pointing to the ARRAY_SIZE of the
DCIN input limit array. The last valid accessible element should be
ARRAY_SIZE - 1.

Fix this.

Change-Id: If1f2c2db3142e4193477428348bc3cc987d84f23
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent b8e406bf
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