diff options
| author | 2019-03-11 09:58:38 -0600 | |
|---|---|---|
| committer | 2019-03-18 10:29:40 -0700 | |
| commit | 6f8f89ce1e18de1e391c9c1c14e7738881d1c00c (patch) | |
| tree | e17e26e215c3fb454afa41633ab4408f04f36b2c /include/linux/overflow.h | |
| parent | platform/chrome: fix wilco-ec dependencies (diff) | |
| download | linux-dev-6f8f89ce1e18de1e391c9c1c14e7738881d1c00c.tar.xz linux-dev-6f8f89ce1e18de1e391c9c1c14e7738881d1c00c.zip | |
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: 7b3d4f44abf0 ("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>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
