power: pm8921-charger: Fix bug in current limit lookup
In the usb_ma_table there exist two consecutive values that have IUSB_FINE_RES bit set. Some functions incorrectly assume that this does not happen. Fix this by checking for consecutive values having IUSB_FINE_IRES bit set. (cherry picked from commit 67ebde08e12d246302d133b4510d59c8f96325d1) CRs-Fixed: 404348 Signed-off-by:David Keitel <dkeitel@codeaurora.org> Change-Id: I6b6ca96b92ec4b9765e4812352057a0ac8cff380 Signed-off-by:
Neha Pandey <nehap@codeaurora.org>
Loading
Please sign in to comment