aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorTzung-Bi Shih <[email protected]>2022-06-09 08:49:43 +0000
committerTzung-Bi Shih <[email protected]>2022-06-10 02:31:43 +0000
commitb4d0836e81603600a8db7777b588fe020abf4cf8 (patch)
tree3195dbade7fc51b432f235f4376f93f663668cce /include/linux/fpga/fpga-mgr.h
parent93bea2faed630bd014916fd2e7ab16a79ee1b46a (diff)
platform/chrome: cros_ec_proto: separate cros_ec_get_proto_info()
Rename cros_ec_host_command_proto_query() to cros_ec_get_proto_info() and make it responsible for setting `ec_dev` fields according to the response protocol info. Also make cros_ec_get_host_event_wake_mask() allocate its own message buffer. It was lucky that size of `struct ec_response_host_event_mask` is less than `struct ec_response_get_protocol_info`. Thus, the buffer wasn't overflow. Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Tzung-Bi Shih <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions