summaryrefslogtreecommitdiff
path: root/zephyr/include
diff options
context:
space:
mode:
authorAl Semjonovs <asemjonovs@google.com>2022-02-14 11:43:04 -0700
committerCommit Bot <commit-bot@chromium.org>2022-03-10 02:28:20 +0000
commit75210c75e99c127d73ae8007a2573c2ea182583c (patch)
tree86e08bfb1412c80eec3cc85d3e1cbd2c6e6c29da /zephyr/include
parent7e424d77782dc12cb45588d719dbe483e9253127 (diff)
downloadchrome-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')
-rw-r--r--zephyr/include/emul/emul_isl923x.h2
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