Wolfram Sang 0537283c88 i2c: testunit: avoid re-issued work after read message
[ Upstream commit 119736c7af442ab398dbb806865988c98ef60d46 ]

The to-be-fixed commit rightfully prevented that the registers will be
cleared. However, the index must be cleared. Otherwise a read message
will re-issue the last work. Fix it and add a comment describing the
situation.

Fixes: c422b6a63024 ("i2c: testunit: don't erase registers after STOP")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-18 13:22:55 +02:00
..
2024-03-07 21:52:03 +00:00
2024-07-18 13:22:47 +02:00
2024-03-07 20:37:04 +00:00
2024-07-11 12:51:23 +02:00
2024-04-11 16:23:56 -07:00
2024-03-07 20:32:47 +00:00
2024-04-09 17:01:01 -07:00
2024-03-13 10:59:28 -07:00
2024-03-21 12:44:10 -07:00
2024-03-07 20:32:38 +00:00
2024-03-15 11:58:32 -07:00
2024-03-21 17:16:46 -07:00
2024-03-21 15:18:18 -07:00
2024-03-12 10:35:24 -07:00
2024-04-11 16:23:56 -07:00