commit | c7bba2fa8156ad16484d336c7488e3e610212821 | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Fri Jun 15 17:05:52 2012 -0700 |
committer | David Keitel <dkeitel@codeaurora.org> | Wed Jul 11 10:30:39 2012 -0700 |
tree | 3e2cb92e73927c32dd90dbbd67b5d24e068a99b5 | |
parent | b157ff75f967cc72c51f6eae3feaa6ba7a432c87 [diff] |
power: pm8921-charger: fix decrease_usb_value for PM8917 When decreasing the usb value from the usb_ma_table make sure to take into account wether the value is available on the PMIC platform by checking the first bit and if the iusbfineres flag is set. This ensures that both PM8917 and PM8921 are supported correctly. Change-Id: I0be94103a066554924f8b212d3751f13812c49e0 Signed-off-by: David Keitel <dkeitel@codeaurora.org>