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:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment