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:Daisuke Nojiri <dnojiri@chromium.org> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment