Re: [PATCH] i2c: testunit: avoid re-issued work after read message

From: Andi Shyti
Date: Thu Jul 11 2024 - 19:53:55 EST


On Thu, Jul 11, 2024 at 02:08:19PM GMT, Wolfram Sang wrote:
> 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@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxx>

Thanks,
Andi