power: qpnp-bms: Defer driver probe until ADC is ready
Previously, the qpnp-bms driver would attempt to read the battery id
with the VADC driver at probe. If the VADC driver was not ready yet,
the read API would return with an error, causing the BMS to defer as well.
This caused a few errors to be logged in kmesg, which confused people
who were debugging the kernel.
Fix this by deferring probe until the ADC drivers are ready.
Change-Id: If17fcb44c691ee954574dad1b4717402dd37b7db
Signed-off-by:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment