diff options
author | Al Semjonovs <asemjonovs@google.com> | 2022-02-14 11:43:04 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-03-10 02:28:20 +0000 |
commit | 75210c75e99c127d73ae8007a2573c2ea182583c (patch) | |
tree | 86e08bfb1412c80eec3cc85d3e1cbd2c6e6c29da /zephyr/include/emul/emul_isl923x.h | |
parent | 7e424d77782dc12cb45588d719dbe483e9253127 (diff) | |
download | chrome-ec-75210c75e99c127d73ae8007a2573c2ea182583c.tar.gz |
zephyr: drivers: Add rule to reset emulated to registers
Reset emulated registers to successful state after each test
BRANCH=none
BUG=b:184856906
TEST=zmake testall
Signed-off-by: Al Semjonovs <asemjonovs@google.com>
Change-Id: I2ee77a15a94a176fc7b67d1284ff1d3386b2357b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3459741
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Reviewed-by: Yuval Peress <peress@google.com>
Commit-Queue: Yuval Peress <peress@google.com>
Diffstat (limited to 'zephyr/include/emul/emul_isl923x.h')
-rw-r--r-- | zephyr/include/emul/emul_isl923x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/include/emul/emul_isl923x.h b/zephyr/include/emul/emul_isl923x.h index 93a29a9c09..b2cc97e83c 100644 --- a/zephyr/include/emul/emul_isl923x.h +++ b/zephyr/include/emul/emul_isl923x.h @@ -33,7 +33,7 @@ struct i2c_emul *isl923x_emul_get_i2c_emul(const struct emul *emulator); * * @param emulator The emulator to modify */ -void isl923x_emul_reset(const struct emul *emulator); +void isl923x_emul_reset_registers(const struct emul *emulator); /** * @brief Set the manufacturer ID |