diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2018-07-04 18:08:18 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-07-13 10:44:31 +0300 |
commit | 57e94c8b974db2d83c60e1139c89a70806abbea0 (patch) | |
tree | 223d7b91c8356871acf8cf91aedd08bf65236d43 /include/linux/mfd/cros_ec.h | |
parent | 9c229127aee2d7e80858b5d52a9a7049355b621c (diff) | |
download | linux-57e94c8b974db2d83c60e1139c89a70806abbea0.tar.xz |
mfd: cros-ec: Increase maximum mkbp event size
Having a 16 byte mkbp event size makes it possible to send CEC
messages from the EC to the AP directly inside the mkbp event
instead of first doing a notification and then a read.
Signed-off-by: Stefan Adolfsson <sadolfsson@chromium.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/cros_ec.h')
-rw-r--r-- | include/linux/mfd/cros_ec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h index 32421dfeb996..20949dde35cd 100644 --- a/include/linux/mfd/cros_ec.h +++ b/include/linux/mfd/cros_ec.h @@ -147,7 +147,7 @@ struct cros_ec_device { bool mkbp_event_supported; struct blocking_notifier_head event_notifier; - struct ec_response_get_next_event event_data; + struct ec_response_get_next_event_v1 event_data; int event_size; u32 host_event_wake_mask; }; |