Skip to content
Commit db6e4362 authored by Wei Yongjun's avatar Wei Yongjun Committed by Sebastian Reichel
Browse files

power: supply: axp288_charger: Fix missing mutex_init()



The driver allocates the mutex but not initialize it.
Use mutex_init() on it to initialize it correctly.

Fixes: ed229454 ("power: supply: axp288-charger: Optimize register reading method")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent e660dbb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment