Commit a0c88572 authored by Daisuke Nojiri's avatar Daisuke Nojiri Committed by openeuler-sync-bot
Browse files

power: supply: sbs-charger: Fix INHIBITED bit for Status reg

stable inclusion
from stable-v5.10.181
commit 52967bbb93eb817db90f8aadc1c083f7f3e194d4
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GJZJ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=52967bbb93eb817db90f8aadc1c083f7f3e194d4



--------------------------------

commit b2f2a3c9 upstream.

CHARGE_INHIBITED bit position of the ChargerStatus register is actually
0 not 1. This patch corrects it.

Fixes: feb583e3 ("power: supply: add sbs-charger driver")
Signed-off-by: default avatarDaisuke Nojiri <dnojiri@chromium.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit 6957d36a)
parent c61a6898
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment