diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-04-04 16:10:35 -0700 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-06-16 17:21:21 -0700 |
| commit | d0ce77308fc03efcc1b02ff26c8bbf5608f8e5f4 (patch) | |
| tree | a687eb4944ed2d33d9fc155fe22daf5398b2ff05 /net/unix/af_unix.c | |
| parent | 16a6dc2a061446e4feac988d5fed128677e58c21 (diff) | |
qpnp-fg-gen3: Move getting battery id and profile to profile_load_work
Workaround to re-enable BMD while getting battery id was required
when driver is probing. This was done to mitigate driver probe
failures because of failed SRAM access. Getting battery_id from
RR_ADC driver itself takes ~200ms and re-enabling BMD takes 200ms
which increases driver probe time.
With the recent changes in reading batt_id channel from RR_ADC
driver, re-enabling BMD is not required anymore when the driver
probes. Hence move getting battery_id and battery profile to
profile_load_work. This way, there won't be any delay when the
driver probes.
CRs-Fixed: 2062261
Change-Id: Ifeb361e0f82fca65f9570fd1f425c7360445d01f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
