commit | c747f8b7f8d1a5aeae54c18ae63ce7401a0d4e54 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Mar 15 18:11:08 2021 +1300 |
committer | Simon Glass <sjg@chromium.org> | Sat Mar 27 15:04:31 2021 +1300 |
tree | 47b5ff1bb2c176d09c9ad1f50407b20d83eb7e6f | |
parent | dafc5d75bcc1ef91e4e86b8ecaee7abd500dcf35 [diff] |
sandbox: cros_ec: Only write EC state when the EC is probed This can crash if the EC has not yet been probed. Add a check to prevent this. Signed-off-by: Simon Glass <sjg@chromium.org>