commit | 355a070b09ab1f29f36447c91cde3e6fd07775e0 | [log] [tgz] |
---|---|---|
author | Ayman Bagabas <ayman.bagabas@gmail.com> | Mon Sep 23 22:48:09 2019 -0400 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Oct 15 10:55:08 2019 +0300 |
tree | 1301a30f16aefb568406e2bf49912e4ec3415a41 | |
parent | 090ddd770b8d2e0c4ee7e5d6fdc72d0080cb8dde [diff] |
platform/x86: huawei-wmi: Add battery charging thresholds Control battery charge thresholds through the battery API and driver's attributes. Setting battery charging thresholds can introduce a race condition with MACH-WX9 where two or more threads are trying to read/write values from/to EC memory. Signed-off-by: Ayman Bagabas <ayman.bagabas@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>