Simon Glass a5bc9abcee 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>
2021-03-27 15:04:31 +13:00
..
2021-01-30 14:25:41 -07:00
2018-11-14 09:16:27 -08:00
2017-01-21 15:12:33 -05:00
2018-11-14 09:16:27 -08:00
2019-02-09 12:50:22 -07:00
2021-03-27 13:59:36 +13:00
2020-05-18 21:19:18 -04:00
2021-03-22 19:23:27 +13:00