Skip to content
Commit 4d97dcf1 authored by Dawid Niedzwiecki's avatar Dawid Niedzwiecki Committed by Henrik Brix Andersen
Browse files

ec_host_cmd: introduce Host Command state



Introduce a current state of Host Command subsystem.

It makes sures that a backend has been initilized and doesn't allow
sending a response twice. There is a possibility, that a command handler
that calls ec_host_cmd_send_response function returns anyway (which is a
mistake).

Signed-off-by: default avatarDawid Niedzwiecki <dawidn@google.com>
parent 99fd3971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment