diff options
| author | Thomas Weißschuh <[email protected]> | 2024-12-08 14:59:26 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-12-10 01:51:45 +0000 |
| commit | e5f84d1cf562f7b45e28d6e5f6490626f870f81c (patch) | |
| tree | 01946a86580ba0dc377e4a661cd9a096114982eb /net/unix/af_unix.c | |
| parent | power: supply: gpio-charger: Fix set charge current limits (diff) | |
| download | kernel-e5f84d1cf562f7b45e28d6e5f6490626f870f81c.tar.gz kernel-e5f84d1cf562f7b45e28d6e5f6490626f870f81c.zip | |
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: [email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
