Re: [PATCH 2/5] power: supply: qcom_smbx: test battery health status bits

Konrad Dybcio <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
On 8/12/26 1:29 AM, Robin Snyders via B4 Relay wrote:
> From: Robin Snyders <[email protected]>
> 
> BATTERY_CHARGER_STATUS_2 contains independent status and fault bits.
> Switching on the complete register only recognizes a fault when it is the
> sole asserted bit, and can report a healthy battery when another status
> bit is set at the same time.
> 
> Test the relevant fault bits in priority order, matching the Qualcomm
> downstream driver handling.
> 
> Fixes: 8648aeb5d7b7 ("power: supply: add Qualcomm PMI8998 SMB2 Charger driver")
> Cc: [email protected]
> Signed-off-by: Robin Snyders <[email protected]>
> ---

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.