diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-12-08 17:59:26 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-12-10 04:51:45 +0300 |
commit | e5f84d1cf562f7b45e28d6e5f6490626f870f81c (patch) | |
tree | 01946a86580ba0dc377e4a661cd9a096114982eb /scripts/extract-fwblobs | |
parent | afc6e39e824ad0e44b2af50a97885caec8d213d1 (diff) | |
download | linux-e5f84d1cf562f7b45e28d6e5f6490626f870f81c.tar.xz |
power: supply: cros_charge-control: add mutex for driver data
Concurrent accesses through sysfs may lead to inconsistent state in the
priv data. Introduce a mutex to avoid this.
Fixes: c6ed48ef5259 ("power: supply: add ChromeOS EC based charge control driver")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241208-cros_charge-control-v2-v1-1-8d168d0f08a3@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions