Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 93445634 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

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: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 89ccbae1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment