OpenCloudOS-Kernel/drivers/platform/chrome/wilco_ec
Nick Crews 6f8f89ce1e
platform/chrome: Fix locking pattern in wilco_ec_mailbox()
Before, ec->data_buffer could be written to from multiple
contexts at the same time. Since the ec is shared data,
it needs to be inside the mutex as well.

Fixes: 7b3d4f44ab ("platform/chrome: Add new driver for Wilco EC")
Signed-off-by: Nick Crews <ncrews@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
2019-03-18 10:29:40 -07:00
..
Kconfig platform/chrome: fix wilco-ec dependencies 2019-03-05 11:35:46 +01:00
Makefile platform/chrome: wilco_ec: Add support for raw commands in debugfs 2019-02-21 21:36:21 +01:00
core.c platform/chrome: wilco_ec: Add RTC driver 2019-02-21 21:36:53 +01:00
debugfs.c platform/chrome: wilco_ec: Add support for raw commands in debugfs 2019-02-21 21:36:21 +01:00
mailbox.c platform/chrome: Fix locking pattern in wilco_ec_mailbox() 2019-03-18 10:29:40 -07:00